#1A1E8E#1A1E8E
#1A1E8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.177 H 270.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1E8E |
|---|---|
| RGB | rgb(26, 30, 142) |
| HSL | hsl(238, 69%, 33%) |
| HSV | hsv(238, 82%, 56%) |
| CMYK | cmyk(81.7%, 78.9%, 0%, 44.3%) |
| CIE-LAB | lab(20.44, 39.44, -61.06) |
| CIE-LCH | lch(20.44, 72.69, 302.86°) |
| OKLab | oklab(33.1% 0.0004 -0.1768) |
| OKLCH | oklch(33.1% 0.177 270.1) |
| XYZ | xyz(5.7711, 3.1005, 25.8802) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.74
Cobalt Blue
#030AA7
ΔE00 4.57
Midnight Blue
#191970
ΔE00 4.64
Darkblue
#00008B
ΔE00 5.14
Royal Blue (survey)
#0504AA
ΔE00 5.17
Navy
#000080
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1E8E #8E8A1A
analogous
#1A588E #1A1E8E #501A8E
triadic
#1A1E8E #8E1A1E #1E8E1A
tetradic
#1A1E8E #8E1A58 #8E8A1A #1A8E50
square
#1A1E8E #8E1A58 #8E8A1A #1A8E50
split-complementary
#1A1E8E #8E501A #588E1A
monochromatic
#070827 #11135A #1A1E8E #2329C2 #454BDD
Accessibility & contrast
On white
12.96
#1A1E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1A1E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1E8E
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1E8E | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1a1e8e; /* rgb */ color: rgb(26, 30, 142); /* oklch */ color: oklch(33.1% 0.177 270.1);
Tailwind
colors: {
custom: {
50: '#6e5cb0',
500: '#1a1e8e',
950: '#000000',
},
}SCSS
$custom: #1a1e8e; $custom-light: #6e5cb0; $custom-dark: #000000;
JSON
{
"hex": "#1a1e8e",
"rgb": {
"r": 26,
"g": 30,
"b": 142
},
"hsl": {
"h": 237.931,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.33096,
"c": 0.17684,
"h": 270.1
},
"luminance": 0.03101
}Semantic roles & 50–950 ramp
primary
#1A1E8E
secondary
#BEBA45
accent
#E63CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980