Recognised as Colour
#12175E
- #12175E
- Blue
- Dark
- Nearest: Midnight blue
#12175E is a blue with RGB values 18, 23, 94 and HSL 236°, 68%, 22%. It is a dark colour, so white text on it reaches 16:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#12175E#12175E
HEX#12175E
RGBrgb(18, 23, 94)
RGB (0–1)0.0706, 0.0902, 0.3686
RGB percentages7.1%, 9%, 36.9%
HSLhsl(236.1, 67.9%, 22%)
HSV / HSBhsv(236.1, 80.9%, 36.9%)
CMYK80.9%, 75.5%, 0%, 63.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,185,630
CSS custom property--colour: #12175E;
Brightness & contrast
Relative luminance0.0155WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.03:1
Contrast with white16.03:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#EDE8A1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.03:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5E5912
Analogous#123D5E, #33125E
Triadic#5E1217, #175E12
Split complementary#5E3312, #3D5E12
Tetradic#5E123D, #5E5912, #125E33
Tints, shades & saturation
Channel breakdown
R18
G23
B94
Red18 (7.1%)
Green23 (9%)
Blue94 (36.9%)
Hue236.05°
Saturation (HSL)67.86%
Lightness21.96%
Dominant channelBlue
Hex per channelR 12 · G 17 · B 5E
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