#1A217A#1A217A
#1A217A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.148 H 270.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1A217A |
|---|---|
| RGB | rgb(26, 33, 122) |
| HSL | hsl(236, 65%, 29%) |
| HSV | hsv(236, 79%, 48%) |
| CMYK | cmyk(78.7%, 73%, 0%, 52.2%) |
| CIE-LAB | lab(18.85, 30.41, -51.07) |
| CIE-LCH | lch(18.85, 59.44, 300.77°) |
| OKLab | oklab(31.3% 0.0023 -0.1478) |
| OKLCH | oklch(31.3% 0.148 270.9) |
| XYZ | xyz(4.4815, 2.7120, 18.6959) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.45
Royal
#0C1793
ΔE00 4.72
Dark Royal Blue
#02066F
ΔE00 6.15
Darkblue (survey)
#030764
ΔE00 6.58
Deep Blue
#040273
ΔE00 6.70
Navy
#000080
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A217A #7A731A
analogous
#1A517A #1A217A #431A7A
triadic
#1A217A #7A1A21 #217A1A
tetradic
#1A217A #7A1A51 #7A731A #1A7A43
square
#1A217A #7A1A51 #7A731A #1A7A43
split-complementary
#1A217A #7A431A #517A1A
monochromatic
#050719 #0F1348 #1A217A #252FAC #3945D5
Accessibility & contrast
On white
13.62
#1A217A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1A217A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A217A
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A217A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A217A | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1a217a; /* rgb */ color: rgb(26, 33, 122); /* oklch */ color: oklch(31.3% 0.148 270.9);
Tailwind
colors: {
custom: {
50: '#685da1',
500: '#1a217a',
950: '#000000',
},
}SCSS
$custom: #1a217a; $custom-light: #685da1; $custom-dark: #000000;
JSON
{
"hex": "#1a217a",
"rgb": {
"r": 26,
"g": 33,
"b": 122
},
"hsl": {
"h": 235.625,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.31299,
"c": 0.14786,
"h": 270.9
},
"luminance": 0.02712
}Semantic roles & 50–950 ramp
primary
#1A217A
secondary
#AEA641
accent
#DC40E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F