#1A216E#1A216E
#1A216E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.131 H 271.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1A216E |
|---|---|
| RGB | rgb(26, 33, 110) |
| HSL | hsl(235, 62%, 27%) |
| HSV | hsv(235, 76%, 43%) |
| CMYK | cmyk(76.4%, 70%, 0%, 56.9%) |
| CIE-LAB | lab(17.61, 25.84, -45.39) |
| CIE-LCH | lch(17.61, 52.23, 299.66°) |
| OKLab | oklab(30.03% 0.0037 -0.1312) |
| OKLCH | oklch(30.03% 0.131 271.6) |
| XYZ | xyz(3.7834, 2.4327, 15.0190) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.55
Darkblue (survey)
#030764
ΔE00 6.45
Dark Royal Blue
#02066F
ΔE00 6.58
Royal
#0C1793
ΔE00 6.66
Deep Blue
#040273
ΔE00 7.33
Dark Indigo
#1F0954
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A216E #6E671A
analogous
#1A4B6E #1A216E #3D1A6E
triadic
#1A216E #6E1A21 #216E1A
tetradic
#1A216E #6E1A4B #6E671A #1A6E3D
square
#1A216E #6E1A4B #6E671A #1A6E3D
split-complementary
#1A216E #6E3D1A #4B6E1A
monochromatic
#060719 #0E123D #1A216E #2630A0 #3440CF
Accessibility & contrast
On white
14.13
#1A216E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1A216E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A216E
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A216E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A216E | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1a216e; /* rgb */ color: rgb(26, 33, 110); /* oklch */ color: oklch(30.0% 0.131 271.6);
Tailwind
colors: {
custom: {
50: '#655c98',
500: '#1a216e',
950: '#000000',
},
}SCSS
$custom: #1a216e; $custom-light: #655c98; $custom-dark: #000000;
JSON
{
"hex": "#1a216e",
"rgb": {
"r": 26,
"g": 33,
"b": 110
},
"hsl": {
"h": 235,
"s": 61.765,
"l": 26.667
},
"oklch": {
"l": 0.30025,
"c": 0.13128,
"h": 271.6
},
"luminance": 0.02433
}Semantic roles & 50–950 ramp
primary
#1A216E
secondary
#A39B41
accent
#D743E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E