#1A218B#1A218B
#1A218B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.170 H 269.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1A218B |
|---|---|
| RGB | rgb(26, 33, 139) |
| HSL | hsl(236, 68%, 32%) |
| HSV | hsv(236, 81%, 55%) |
| CMYK | cmyk(81.3%, 76.3%, 0%, 45.5%) |
| CIE-LAB | lab(20.72, 36.63, -58.73) |
| CIE-LCH | lch(20.72, 69.22, 301.95°) |
| OKLab | oklab(33.19% -0.0002 -0.1701) |
| OKLCH | oklch(33.19% 0.17 269.9) |
| XYZ | xyz(5.6285, 3.1708, 24.7365) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.62
Midnight Blue
#191970
ΔE00 4.37
Cobalt Blue
#030AA7
ΔE00 5.45
Darkblue
#00008B
ΔE00 5.92
Royal Blue (survey)
#0504AA
ΔE00 6.06
Navy
#000080
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A218B #8B841A
analogous
#1A5A8B #1A218B #4B1A8B
triadic
#1A218B #8B1A21 #218B1A
tetradic
#1A218B #8B1A5A #8B841A #1A8B4B
square
#1A218B #8B1A5A #8B841A #1A8B4B
split-complementary
#1A218B #8B4B1A #5A8B1A
monochromatic
#070924 #101557 #1A218B #242DBF #434DDC
Accessibility & contrast
On white
12.85
#1A218B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1A218B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A218B
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A218B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A218B | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1a218b; /* rgb */ color: rgb(26, 33, 139); /* oklch */ color: oklch(33.2% 0.170 269.9);
Tailwind
colors: {
custom: {
50: '#6d5dae',
500: '#1a218b',
950: '#000000',
},
}SCSS
$custom: #1a218b; $custom-light: #6d5dae; $custom-dark: #000000;
JSON
{
"hex": "#1a218b",
"rgb": {
"r": 26,
"g": 33,
"b": 139
},
"hsl": {
"h": 236.283,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.33188,
"c": 0.17013,
"h": 269.9
},
"luminance": 0.03171
}Semantic roles & 50–950 ramp
primary
#1A218B
secondary
#BDB644
accent
#E03CEB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F