Recognised as Colour
#1B158B
- #1B158B
- Blue
- Dark
- Nearest: Navy
#1B158B is a blue with RGB values 27, 21, 139 and HSL 243°, 74%, 31%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#1B158B#1B158B
HEX#1B158B
RGBrgb(27, 21, 139)
RGB (0–1)0.1059, 0.0824, 0.5451
RGB percentages10.6%, 8.2%, 54.5%
HSLhsl(243.1, 73.8%, 31.4%)
HSV / HSBhsv(243.1, 84.9%, 54.5%)
CMYK80.6%, 84.9%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,774,987
CSS custom property--colour: #1B158B;
Brightness & contrast
Relative luminance0.02633WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.76:1
Contrast with white13.76:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#E4EA74
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.76: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#858B15
Analogous#154A8B, #56158B
Triadic#8B1B15, #158B1B
Split complementary#8B5615, #4A8B15
Tetradic#8B154A, #858B15, #158B56
Tints, shades & saturation
Channel breakdown
R27
G21
B139
Red27 (10.6%)
Green21 (8.2%)
Blue139 (54.5%)
Hue243.05°
Saturation (HSL)73.75%
Lightness31.37%
Dominant channelBlue
Hex per channelR 1B · G 15 · B 8B
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