Recognised as Colour
#1F1968
- #1F1968
- Blue
- Dark
- Nearest: Midnight blue
#1F1968 is a blue with RGB values 31, 25, 104 and HSL 245°, 61%, 25%. It is a dark colour, so white text on it reaches 15:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#1F1968#1F1968
HEX#1F1968
RGBrgb(31, 25, 104)
RGB (0–1)0.1216, 0.098, 0.4078
RGB percentages12.2%, 9.8%, 40.8%
HSLhsl(244.6, 61.2%, 25.3%)
HSV / HSBhsv(244.6, 76%, 40.8%)
CMYK70.2%, 76%, 0%, 59.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,038,120
CSS custom property--colour: #1F1968;
Brightness & contrast
Relative luminance0.01986WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.03:1
Contrast with white15.03:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#E0E697
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.03:1WCAG large text: AAA
Contrast with black, large text1.4:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#626819
Analogous#193B68, #471968
Triadic#681F19, #19681F
Split complementary#684719, #3A6819
Tetradic#68193A, #626819, #196847
Tints, shades & saturation
Channel breakdown
R31
G25
B104
Red31 (12.2%)
Green25 (9.8%)
Blue104 (40.8%)
Hue244.56°
Saturation (HSL)61.24%
Lightness25.29%
Dominant channelBlue
Hex per channelR 1F · G 19 · 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