Recognised as Colour
#020C3F
- #020C3F
- Blue
- Dark
- Nearest: Midnight blue
#020C3F is a blue with RGB values 2, 12, 63 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
#020C3F#020C3F
HEX#020C3F
RGBrgb(2, 12, 63)
RGB (0–1)0.0078, 0.0471, 0.2471
RGB percentages0.8%, 4.7%, 24.7%
HSLhsl(230.2, 93.8%, 12.7%)
HSV / HSBhsv(230.2, 96.8%, 24.7%)
CMYK96.8%, 81%, 0%, 75.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer134,207
CSS custom property--colour: #020C3F;
Brightness & contrast
Relative luminance0.00635WCAG 2.x, 0 is black and 1 is white
Perceived brightness23.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.63:1
Contrast with white18.63:1WCAG normal text: AAA
Contrast with black1.13:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#FDF3C0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.63: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#3F3502
Analogous#022B3F, #17023F
Triadic#3F020C, #0C3F02
Split complementary#3F1602, #2B3F02
Tetradic#3F022A, #3F3502, #023F16
Tints, shades & saturation
Channel breakdown
R2
G12
B63
Red2 (0.8%)
Green12 (4.7%)
Blue63 (24.7%)
Hue230.16°
Saturation (HSL)93.85%
Lightness12.75%
Dominant channelBlue
Hex per channelR 02 · G 0C · B 3F
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