Recognised as Colour
#1F319E
- #1F319E
- Blue
- Dark
- Nearest: Midnight blue
#1F319E is a blue with RGB values 31, 49, 158 and HSL 231°, 67%, 37%. It is a dark colour, so white text on it reaches 10.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#1F319E#1F319E
HEX#1F319E
RGBrgb(31, 49, 158)
RGB (0–1)0.1216, 0.1922, 0.6196
RGB percentages12.2%, 19.2%, 62%
HSLhsl(231.5, 67.2%, 37.1%)
HSV / HSBhsv(231.5, 80.4%, 62%)
CMYK80.4%, 69%, 0%, 38%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,044,318
CSS custom property--colour: #1F319E;
Brightness & contrast
Relative luminance0.04957WCAG 2.x, 0 is black and 1 is white
Perceived brightness67.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.55:1
Contrast with white10.55:1WCAG normal text: AAA
Contrast with black1.99:1WCAG normal text: Fail
Greyscale equivalent#353535
Inverted#E0CE61
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.55:1WCAG large text: AAA
Contrast with black, large text1.99:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#9E8C1F
Analogous#1F719E, #4D1F9E
Triadic#9E1F31, #319E1F
Split complementary#9E4D1F, #719E1F
Tetradic#9E1F70, #9E8C1F, #1F9E4C
Tints, shades & saturation
Channel breakdown
R31
G49
B158
Red31 (12.2%)
Green49 (19.2%)
Blue158 (62%)
Hue231.5°
Saturation (HSL)67.2%
Lightness37.06%
Dominant channelBlue
Hex per channelR 1F · G 31 · B 9E
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