Recognised as Colour
#02123F
- #02123F
- Blue
- Dark
- Nearest: Midnight blue
#02123F is a blue with RGB values 2, 18, 63 and HSL 224°, 94%, 13%. It is a dark colour, so white text on it reaches 18.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#02123F#02123F
HEX#02123F
RGBrgb(2, 18, 63)
RGB (0–1)0.0078, 0.0706, 0.2471
RGB percentages0.8%, 7.1%, 24.7%
HSLhsl(224.3, 93.8%, 12.7%)
HSV / HSBhsv(224.3, 96.8%, 24.7%)
CMYK96.8%, 71.4%, 0%, 75.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer135,743
CSS custom property--colour: #02123F;
Brightness & contrast
Relative luminance0.00804WCAG 2.x, 0 is black and 1 is white
Perceived brightness25.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.09:1
Contrast with white18.09:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#FDEDC0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.09:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3F2F02
Analogous#02313F, #10023F
Triadic#3F0212, #123F02
Split complementary#3F1002, #313F02
Tetradic#3F0231, #3F2F02, #023F10
Tints, shades & saturation
Channel breakdown
R2
G18
B63
Red2 (0.8%)
Green18 (7.1%)
Blue63 (24.7%)
Hue224.26°
Saturation (HSL)93.85%
Lightness12.75%
Dominant channelBlue
Hex per channelR 02 · G 12 · 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