#1A1F89#1A1F89
#1A1F89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.170 H 270.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1F89 |
|---|---|
| RGB | rgb(26, 31, 137) |
| HSL | hsl(237, 68%, 32%) |
| HSV | hsv(237, 81%, 54%) |
| CMYK | cmyk(81%, 77.4%, 0%, 46.3%) |
| CIE-LAB | lab(20.06, 37.12, -58.56) |
| CIE-LCH | lch(20.06, 69.33, 302.37°) |
| OKLab | oklab(32.66% 0.0009 -0.1696) |
| OKLCH | oklch(32.66% 0.17 270.3) |
| XYZ | xyz(5.4298, 3.0051, 23.9559) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.37
Midnight Blue
#191970
ΔE00 3.97
Cobalt Blue
#030AA7
ΔE00 5.33
Darkblue
#00008B
ΔE00 5.46
Navy
#000080
ΔE00 5.88
Royal Blue (survey)
#0504AA
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1F89 #89841A
analogous
#1A5789 #1A1F89 #4C1A89
triadic
#1A1F89 #891A1F #1F891A
tetradic
#1A1F89 #891A57 #89841A #1A894C
square
#1A1F89 #891A57 #89841A #1A894C
split-complementary
#1A1F89 #894C1A #57891A
monochromatic
#060822 #101356 #1A1F89 #242BBC #4249DB
Accessibility & contrast
On white
13.12
#1A1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1A1F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1F89
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1F89 | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1a1f89; /* rgb */ color: rgb(26, 31, 137); /* oklch */ color: oklch(32.7% 0.170 270.3);
Tailwind
colors: {
custom: {
50: '#6c5cad',
500: '#1a1f89',
950: '#000000',
},
}SCSS
$custom: #1a1f89; $custom-light: #6c5cad; $custom-dark: #000000;
JSON
{
"hex": "#1a1f89",
"rgb": {
"r": 26,
"g": 31,
"b": 137
},
"hsl": {
"h": 237.297,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.32659,
"c": 0.1696,
"h": 270.3
},
"luminance": 0.03006
}Semantic roles & 50–950 ramp
primary
#1A1F89
secondary
#BCB743
accent
#E33DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F