Recognised as Colour
#020C40
- #020C40
- Blue
- Dark
- Nearest: Midnight blue
#020C40 is a blue with RGB values 2, 12, 64 and HSL 230°, 94%, 13%. It is a dark colour, so white text on it reaches 18.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#020C40#020C40
HEX#020C40
RGBrgb(2, 12, 64)
RGB (0–1)0.0078, 0.0471, 0.251
RGB percentages0.8%, 4.7%, 25.1%
HSLhsl(230.3, 93.9%, 12.9%)
HSV / HSBhsv(230.3, 96.9%, 25.1%)
CMYK96.9%, 81.2%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer134,208
CSS custom property--colour: #020C40;
Brightness & contrast
Relative luminance0.00646WCAG 2.x, 0 is black and 1 is white
Perceived brightness23.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.6:1
Contrast with white18.6:1WCAG normal text: AAA
Contrast with black1.13:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#FDF3BF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.6:1WCAG large text: AAA
Contrast with black, large text1.13:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#403602
Analogous#022B40, #170240
Triadic#40020C, #0C4002
Split complementary#401702, #2B4002
Tetradic#40022B, #403602, #024017
Tints, shades & saturation
Channel breakdown
R2
G12
B64
Red2 (0.8%)
Green12 (4.7%)
Blue64 (25.1%)
Hue230.32°
Saturation (HSL)93.94%
Lightness12.94%
Dominant channelBlue
Hex per channelR 02 · G 0C · B 40
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