Recognised as Colour
#0C40EC
- #0C40EC
- Blue
- Dark
- Nearest: Medium blue
#0C40EC is a blue with RGB values 12, 64, 236 and HSL 226°, 90%, 49%. It is a dark colour, so white text on it reaches 7.1:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#0C40EC#0C40EC
HEX#0C40EC
RGBrgb(12, 64, 236)
RGB (0–1)0.0471, 0.251, 0.9255
RGB percentages4.7%, 25.1%, 92.5%
HSLhsl(226.1, 90.3%, 48.6%)
HSV / HSBhsv(226.1, 94.9%, 92.5%)
CMYK94.9%, 72.9%, 0%, 7.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer803,052
CSS custom property--colour: #0C40EC;
Brightness & contrast
Relative luminance0.09801WCAG 2.x, 0 is black and 1 is white
Perceived brightness93.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.09:1
Contrast with white7.09:1WCAG normal text: AAA
Contrast with black2.96:1WCAG normal text: Fail
Greyscale equivalent#414141
Inverted#F3BF13
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.09:1WCAG large text: AAA
Contrast with black, large text2.96:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#ECB80C
Analogous#0CB0EC, #480CEC
Triadic#EC0C40, #40EC0C
Split complementary#EC480C, #B0EC0C
Tetradic#EC0CB0, #ECB80C, #0CEC48
Tints, shades & saturation
Channel breakdown
R12
G64
B236
Red12 (4.7%)
Green64 (25.1%)
Blue236 (92.5%)
Hue226.07°
Saturation (HSL)90.32%
Lightness48.63%
Dominant channelBlue
Hex per channelR 0C · G 40 · B EC
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page