Recognised as Colour
#12158D
- #12158D
- Blue
- Dark
- Nearest: Navy
#12158D is a blue with RGB values 18, 21, 141 and HSL 239°, 77%, 31%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#12158D#12158D
HEX#12158D
RGBrgb(18, 21, 141)
RGB (0–1)0.0706, 0.0824, 0.5529
RGB percentages7.1%, 8.2%, 55.3%
HSLhsl(238.5, 77.4%, 31.2%)
HSV / HSBhsv(238.5, 87.2%, 55.3%)
CMYK87.2%, 85.1%, 0%, 44.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,185,165
CSS custom property--colour: #12158D;
Brightness & contrast
Relative luminance0.02588WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.84:1
Contrast with white13.84:1WCAG normal text: AAA
Contrast with black1.52:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#EDEA72
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.84:1WCAG large text: AAA
Contrast with black, large text1.52:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8D8A12
Analogous#12538D, #4C128D
Triadic#8D1215, #158D12
Split complementary#8D4C12, #538D12
Tetradic#8D1253, #8D8A12, #128D4C
Tints, shades & saturation
Channel breakdown
R18
G21
B141
Red18 (7.1%)
Green21 (8.2%)
Blue141 (55.3%)
Hue238.54°
Saturation (HSL)77.36%
Lightness31.18%
Dominant channelBlue
Hex per channelR 12 · G 15 · B 8D
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page