Recognised as Colour
#1F1772
- #1F1772
- Blue
- Dark
- Nearest: Midnight blue
#1F1772 is a blue with RGB values 31, 23, 114 and HSL 245°, 66%, 27%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#1F1772#1F1772
HEX#1F1772
RGBrgb(31, 23, 114)
RGB (0–1)0.1216, 0.0902, 0.4471
RGB percentages12.2%, 9%, 44.7%
HSLhsl(245.3, 66.4%, 26.9%)
HSV / HSBhsv(245.3, 79.8%, 44.7%)
CMYK72.8%, 79.8%, 0%, 55.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,037,618
CSS custom property--colour: #1F1772;
Brightness & contrast
Relative luminance0.02119WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.75:1
Contrast with white14.75:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#E0E88D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.75:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6A7217
Analogous#173D72, #4C1772
Triadic#721F17, #17721F
Split complementary#724C17, #3D7217
Tetradic#72173D, #6A7217, #17724C
Tints, shades & saturation
Channel breakdown
R31
G23
B114
Red31 (12.2%)
Green23 (9%)
Blue114 (44.7%)
Hue245.27°
Saturation (HSL)66.42%
Lightness26.86%
Dominant channelBlue
Hex per channelR 1F · G 17 · B 72
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