Recognised as Colour
#151B86
- #151B86
- Blue
- Dark
- Nearest: Midnight blue
#151B86 is a blue with RGB values 21, 27, 134 and HSL 237°, 73%, 30%. It is a dark colour, so white text on it reaches 13.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#151B86#151B86
HEX#151B86
RGBrgb(21, 27, 134)
RGB (0–1)0.0824, 0.1059, 0.5255
RGB percentages8.2%, 10.6%, 52.5%
HSLhsl(236.8, 72.9%, 30.4%)
HSV / HSBhsv(236.8, 84.3%, 52.5%)
CMYK84.3%, 79.9%, 0%, 47.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,383,302
CSS custom property--colour: #151B86;
Brightness & contrast
Relative luminance0.02665WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.7:1
Contrast with white13.7:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#EAE479
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.7:1WCAG large text: AAA
Contrast with black, large text1.53:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#868015
Analogous#155486, #471586
Triadic#86151B, #1B8615
Split complementary#864715, #548615
Tetradic#861554, #868015, #158647
Tints, shades & saturation
Channel breakdown
R21
G27
B134
Red21 (8.2%)
Green27 (10.6%)
Blue134 (52.5%)
Hue236.81°
Saturation (HSL)72.9%
Lightness30.39%
Dominant channelBlue
Hex per channelR 15 · G 1B · B 86
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page