#1A217B#1A217B
#1A217B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.149 H 270.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1A217B |
|---|---|
| RGB | rgb(26, 33, 123) |
| HSL | hsl(236, 65%, 29%) |
| HSV | hsv(236, 79%, 48%) |
| CMYK | cmyk(78.9%, 73.2%, 0%, 51.8%) |
| CIE-LAB | lab(18.96, 30.79, -51.54) |
| CIE-LCH | lch(18.96, 60.03, 300.85°) |
| OKLab | oklab(31.41% 0.0022 -0.1492) |
| OKLCH | oklch(31.41% 0.149 270.8) |
| XYZ | xyz(4.5438, 2.7369, 19.0239) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.52
Royal
#0C1793
ΔE00 4.57
Dark Royal Blue
#02066F
ΔE00 6.15
Darkblue (survey)
#030764
ΔE00 6.63
Deep Blue
#040273
ΔE00 6.68
Navy
#000080
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A217B #7B741A
analogous
#1A527B #1A217B #441A7B
triadic
#1A217B #7B1A21 #217B1A
tetradic
#1A217B #7B1A52 #7B741A #1A7B44
square
#1A217B #7B1A52 #7B741A #1A7B44
split-complementary
#1A217B #7B441A #527B1A
monochromatic
#050719 #0F1348 #1A217B #252FAE #3A45D5
Accessibility & contrast
On white
13.57
#1A217B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1A217B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A217B
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A217B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A217B | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1a217b; /* rgb */ color: rgb(26, 33, 123); /* oklch */ color: oklch(31.4% 0.149 270.8);
Tailwind
colors: {
custom: {
50: '#685da2',
500: '#1a217b',
950: '#000000',
},
}SCSS
$custom: #1a217b; $custom-light: #685da2; $custom-dark: #000000;
JSON
{
"hex": "#1a217b",
"rgb": {
"r": 26,
"g": 33,
"b": 123
},
"hsl": {
"h": 235.67,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.31407,
"c": 0.14921,
"h": 270.8
},
"luminance": 0.02737
}Semantic roles & 50–950 ramp
primary
#1A217B
secondary
#AFA742
accent
#DC40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F