#1A1E8B#1A1E8B
#1A1E8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.173 H 270.3°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1E8B |
|---|---|
| RGB | rgb(26, 30, 139) |
| HSL | hsl(238, 68%, 32%) |
| HSV | hsv(238, 81%, 55%) |
| CMYK | cmyk(81.3%, 78.4%, 0%, 45.5%) |
| CIE-LAB | lab(20.09, 38.40, -59.77) |
| CIE-LCH | lch(20.09, 71.04, 302.72°) |
| OKLab | oklab(32.75% 0.0009 -0.1731) |
| OKLCH | oklch(32.75% 0.173 270.3) |
| XYZ | xyz(5.5489, 3.0116, 24.7099) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.98
Midnight Blue
#191970
ΔE00 4.21
Cobalt Blue
#030AA7
ΔE00 4.92
Darkblue
#00008B
ΔE00 5.17
Royal Blue (survey)
#0504AA
ΔE00 5.52
Navy
#000080
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1E8B #8B871A
analogous
#1A578B #1A1E8B #4E1A8B
triadic
#1A1E8B #8B1A1E #1E8B1A
tetradic
#1A1E8B #8B1A57 #8B871A #1A8B4E
square
#1A1E8B #8B1A57 #8B871A #1A8B4E
split-complementary
#1A1E8B #8B4E1A #578B1A
monochromatic
#070824 #101357 #1A1E8B #2429BF #4349DC
Accessibility & contrast
On white
13.11
#1A1E8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1A1E8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1E8B
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1E8B | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1a1e8b; /* rgb */ color: rgb(26, 30, 139); /* oklch */ color: oklch(32.7% 0.173 270.3);
Tailwind
colors: {
custom: {
50: '#6d5bae',
500: '#1a1e8b',
950: '#000000',
},
}SCSS
$custom: #1a1e8b; $custom-light: #6d5bae; $custom-dark: #000000;
JSON
{
"hex": "#1a1e8b",
"rgb": {
"r": 26,
"g": 30,
"b": 139
},
"hsl": {
"h": 237.876,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.32745,
"c": 0.1731,
"h": 270.3
},
"luminance": 0.03012
}Semantic roles & 50–950 ramp
primary
#1A1E8B
secondary
#BDB944
accent
#E53CEB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F