Recognised as Colour
#1F1387
- #1F1387
- Blue
- Dark
- Nearest: Navy
#1F1387 is a blue with RGB values 31, 19, 135 and HSL 246°, 75%, 30%. It is a dark colour, so white text on it reaches 14:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#1F1387#1F1387
HEX#1F1387
RGBrgb(31, 19, 135)
RGB (0–1)0.1216, 0.0745, 0.5294
RGB percentages12.2%, 7.5%, 52.9%
HSLhsl(246.2, 75.3%, 30.2%)
HSV / HSBhsv(246.2, 85.9%, 52.9%)
CMYK77%, 85.9%, 0%, 47.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,036,615
CSS custom property--colour: #1F1387;
Brightness & contrast
Relative luminance0.02506WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.99:1
Contrast with white13.99:1WCAG normal text: AAA
Contrast with black1.5:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#E0EC78
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.99:1WCAG large text: AAA
Contrast with black, large text1.5:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7B8713
Analogous#134187, #591387
Triadic#871F13, #13871F
Split complementary#875913, #418713
Tetradic#871341, #7B8713, #138759
Tints, shades & saturation
Channel breakdown
R31
G19
B135
Red31 (12.2%)
Green19 (7.5%)
Blue135 (52.9%)
Hue246.21°
Saturation (HSL)75.32%
Lightness30.2%
Dominant channelBlue
Hex per channelR 1F · G 13 · B 87
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