#1A215E#1A215E
#1A215E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.108 H 272.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1A215E |
|---|---|
| RGB | rgb(26, 33, 94) |
| HSL | hsl(234, 57%, 24%) |
| HSV | hsv(234, 72%, 37%) |
| CMYK | cmyk(72.3%, 64.9%, 0%, 63.1%) |
| CIE-LAB | lab(16.08, 19.55, -37.38) |
| CIE-LCH | lch(16.08, 42.18, 297.62°) |
| OKLab | oklab(28.43% 0.0047 -0.1078) |
| OKLCH | oklch(28.43% 0.108 272.5) |
| XYZ | xyz(2.9896, 2.1152, 10.8382) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.92
Navy Blue (survey)
#001146
ΔE00 5.48
Navy (survey)
#01153E
ΔE00 6.46
Marine
#042E60
ΔE00 6.72
Navy Blue
#1B2A4A
ΔE00 6.90
Dark Indigo
#1F0954
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A215E #5E571A
analogous
#1A435E #1A215E #351A5E
triadic
#1A215E #5E1A21 #215E1A
tetradic
#1A215E #5E1A43 #5E571A #1A5E35
square
#1A215E #5E1A43 #5E571A #1A5E35
split-complementary
#1A215E #5E351A #435E1A
monochromatic
#070818 #0D102E #1A215E #27328E #3543BE
Accessibility & contrast
On white
14.76
#1A215E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1A215E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A215E
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A215E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A215E | 1.00 | 14.76 | 1.42 | 14.76 |
| #FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1a215e; /* rgb */ color: rgb(26, 33, 94); /* oklch */ color: oklch(28.4% 0.108 272.5);
Tailwind
colors: {
custom: {
50: '#615c8c',
500: '#1a215e',
950: '#000000',
},
}SCSS
$custom: #1a215e; $custom-light: #615c8c; $custom-dark: #000000;
JSON
{
"hex": "#1a215e",
"rgb": {
"r": 26,
"g": 33,
"b": 94
},
"hsl": {
"h": 233.824,
"s": 56.667,
"l": 23.529
},
"oklch": {
"l": 0.2843,
"c": 0.10786,
"h": 272.5
},
"luminance": 0.02115
}Semantic roles & 50–950 ramp
primary
#1A215E
secondary
#948B40
accent
#D048E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D