#1A1885#1A1885
#1A1885 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.171 H 271.4°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1885 |
|---|---|
| RGB | rgb(26, 24, 133) |
| HSL | hsl(241, 69%, 31%) |
| HSV | hsv(241, 82%, 52%) |
| CMYK | cmyk(80.5%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(18.21, 39.68, -59.11) |
| CIE-LCH | lch(18.21, 71.20, 303.88°) |
| OKLab | oklab(31.22% 0.0041 -0.1711) |
| OKLCH | oklch(31.22% 0.171 271.4) |
| XYZ | xyz(4.9848, 2.5658, 22.4183) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.07
Midnight Blue
#191970
ΔE00 3.40
Darkblue
#00008B
ΔE00 3.98
Navy
#000080
ΔE00 4.25
Dark Royal Blue
#02066F
ΔE00 4.75
Deep Blue
#040273
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1885 #838518
analogous
#184C85 #1A1885 #501885
triadic
#1A1885 #851A18 #18851A
tetradic
#1A1885 #85184C #838518 #188550
square
#1A1885 #85184C #838518 #188550
split-complementary
#1A1885 #855018 #4C8518
monochromatic
#06051D #100F51 #1A1885 #2421B9 #3F3CDC
Accessibility & contrast
On white
13.88
#1A1885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1A1885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1885
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1885 | 1.00 | 13.88 | 1.51 | 13.88 |
| #FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1a1885; /* rgb */ color: rgb(26, 24, 133); /* oklch */ color: oklch(31.2% 0.171 271.4);
Tailwind
colors: {
custom: {
50: '#6c58aa',
500: '#1a1885',
950: '#000000',
},
}SCSS
$custom: #1a1885; $custom-light: #6c58aa; $custom-dark: #000000;
JSON
{
"hex": "#1a1885",
"rgb": {
"r": 26,
"g": 24,
"b": 133
},
"hsl": {
"h": 241.101,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.31218,
"c": 0.17116,
"h": 271.4
},
"luminance": 0.02566
}Semantic roles & 50–950 ramp
primary
#1A1885
secondary
#B7B940
accent
#EC3CE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F