Recognised as Colour
#1F155B
- #1F155B
- Blue
- Dark
- Nearest: Midnight blue
#1F155B is a blue with RGB values 31, 21, 91 and HSL 249°, 63%, 22%. It is a dark colour, so white text on it reaches 16:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#1F155B#1F155B
HEX#1F155B
RGBrgb(31, 21, 91)
RGB (0–1)0.1216, 0.0824, 0.3569
RGB percentages12.2%, 8.2%, 35.7%
HSLhsl(248.6, 62.5%, 22%)
HSV / HSBhsv(248.6, 76.9%, 35.7%)
CMYK65.9%, 76.9%, 0%, 64.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,037,083
CSS custom property--colour: #1F155B;
Brightness & contrast
Relative luminance0.01583WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.95:1
Contrast with white15.95:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#E0EAA4
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.95:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#515B15
Analogous#152E5B, #42155B
Triadic#5B1F15, #155B1F
Split complementary#5B4215, #2E5B15
Tetradic#5B152E, #515B15, #155B42
Tints, shades & saturation
Channel breakdown
R31
G21
B91
Red31 (12.2%)
Green21 (8.2%)
Blue91 (35.7%)
Hue248.57°
Saturation (HSL)62.5%
Lightness21.96%
Dominant channelBlue
Hex per channelR 1F · G 15 · B 5B
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