#1B1885#1B1885
#1B1885 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.171 H 271.8°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1885 |
|---|---|
| RGB | rgb(27, 24, 133) |
| HSL | hsl(242, 69%, 31%) |
| HSV | hsv(242, 82%, 52%) |
| CMYK | cmyk(79.7%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(18.27, 39.75, -59.01) |
| CIE-LCH | lch(18.27, 71.15, 303.97°) |
| OKLab | oklab(31.28% 0.0053 -0.1708) |
| OKLCH | oklch(31.28% 0.171 271.8) |
| XYZ | xyz(5.0108, 2.5792, 22.4195) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.09
Midnight Blue
#191970
ΔE00 3.41
Darkblue
#00008B
ΔE00 3.99
Navy
#000080
ΔE00 4.26
Dark Royal Blue
#02066F
ΔE00 4.77
Deep Blue
#040273
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1885 #828518
analogous
#184B85 #1B1885 #511885
triadic
#1B1885 #851B18 #18851B
tetradic
#1B1885 #85184B #828518 #188551
square
#1B1885 #85184B #828518 #188551
split-complementary
#1B1885 #855118 #4B8518
monochromatic
#06051D #100F51 #1B1885 #2621B9 #403CDC
Accessibility & contrast
On white
13.85
#1B1885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1B1885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1885
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1885 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b1885; /* rgb */ color: rgb(27, 24, 133); /* oklch */ color: oklch(31.3% 0.171 271.8);
Tailwind
colors: {
custom: {
50: '#6c58aa',
500: '#1b1885',
950: '#000000',
},
}SCSS
$custom: #1b1885; $custom-light: #6c58aa; $custom-dark: #000000;
JSON
{
"hex": "#1b1885",
"rgb": {
"r": 27,
"g": 24,
"b": 133
},
"hsl": {
"h": 241.651,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.31275,
"c": 0.17088,
"h": 271.8
},
"luminance": 0.0258
}Semantic roles & 50–950 ramp
primary
#1B1885
secondary
#B6B940
accent
#EC3CE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F