Recognised as Colour
#040CC6
- #040CC6
- Blue
- Dark
- Nearest: Medium blue
#040CC6 is a blue with RGB values 4, 12, 198 and HSL 238°, 96%, 40%. It is a dark colour, so white text on it reaches 11.2:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#040CC6#040CC6
HEX#040CC6
RGBrgb(4, 12, 198)
RGB (0–1)0.0157, 0.0471, 0.7765
RGB percentages1.6%, 4.7%, 77.6%
HSLhsl(237.5, 96%, 39.6%)
HSV / HSBhsv(237.5, 98%, 77.6%)
CMYK98%, 93.9%, 0%, 22.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,414
CSS custom property--colour: #040CC6;
Brightness & contrast
Relative luminance0.04366WCAG 2.x, 0 is black and 1 is white
Perceived brightness67.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.21:1
Contrast with white11.21:1WCAG normal text: AAA
Contrast with black1.87:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#FBF339
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.21:1WCAG large text: AAA
Contrast with black, large text1.87:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#C6BE04
Analogous#046DC6, #5D04C6
Triadic#C6040C, #0CC604
Split complementary#C65D04, #6DC604
Tetradic#C6046D, #C6BE04, #04C65D
Tints, shades & saturation
Channel breakdown
R4
G12
B198
Red4 (1.6%)
Green12 (4.7%)
Blue198 (77.6%)
Hue237.53°
Saturation (HSL)96.04%
Lightness39.61%
Dominant channelBlue
Hex per channelR 04 · G 0C · B C6
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