Recognised as Colour
#1F0F68
- #1F0F68
- Blue
- Dark
- Nearest: Midnight blue
#1F0F68 is a blue with RGB values 31, 15, 104 and HSL 251°, 75%, 23%. It is a dark colour, so white text on it reaches 15.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#1F0F68#1F0F68
HEX#1F0F68
RGBrgb(31, 15, 104)
RGB (0–1)0.1216, 0.0588, 0.4078
RGB percentages12.2%, 5.9%, 40.8%
HSLhsl(250.8, 74.8%, 23.3%)
HSV / HSBhsv(250.8, 85.6%, 40.8%)
CMYK70.2%, 85.6%, 0%, 59.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,035,560
CSS custom property--colour: #1F0F68;
Brightness & contrast
Relative luminance0.01632WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.83:1
Contrast with white15.83:1WCAG normal text: AAA
Contrast with black1.33:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#E0F097
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.83:1WCAG large text: AAA
Contrast with black, large text1.33:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#58680F
Analogous#0F2B68, #4C0F68
Triadic#681F0F, #0F681F
Split complementary#684C0F, #2B680F
Tetradic#680F2B, #58680F, #0F684C
Tints, shades & saturation
Channel breakdown
R31
G15
B104
Red31 (12.2%)
Green15 (5.9%)
Blue104 (40.8%)
Hue250.79°
Saturation (HSL)74.79%
Lightness23.33%
Dominant channelBlue
Hex per channelR 1F · G 0F · B 68
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