#1A216C#1A216C
#1A216C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.128 H 271.7°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1A216C |
|---|---|
| RGB | rgb(26, 33, 108) |
| HSL | hsl(235, 61%, 26%) |
| HSV | hsv(235, 76%, 42%) |
| CMYK | cmyk(75.9%, 69.4%, 0%, 57.6%) |
| CIE-LAB | lab(17.41, 25.07, -44.41) |
| CIE-LCH | lch(17.41, 51.00, 299.44°) |
| OKLab | oklab(29.82% 0.0039 -0.1284) |
| OKLCH | oklch(29.82% 0.128 271.7) |
| XYZ | xyz(3.6757, 2.3897, 14.4520) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.75
Darkblue (survey)
#030764
ΔE00 6.51
Dark Royal Blue
#02066F
ΔE00 6.73
Royal
#0C1793
ΔE00 7.01
Navy Blue (survey)
#001146
ΔE00 7.21
Dark Indigo
#1F0954
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A216C #6C651A
analogous
#1A4A6C #1A216C #3C1A6C
triadic
#1A216C #6C1A21 #216C1A
tetradic
#1A216C #6C1A4A #6C651A #1A6C3C
square
#1A216C #6C1A4A #6C651A #1A6C3C
split-complementary
#1A216C #6C3C1A #4A6C1A
monochromatic
#060819 #0E123B #1A216C #26309D #3340CE
Accessibility & contrast
On white
14.21
#1A216C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1A216C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A216C
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A216C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A216C | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1a216c; /* rgb */ color: rgb(26, 33, 108); /* oklch */ color: oklch(29.8% 0.128 271.7);
Tailwind
colors: {
custom: {
50: '#645c97',
500: '#1a216c',
950: '#000000',
},
}SCSS
$custom: #1a216c; $custom-light: #645c97; $custom-dark: #000000;
JSON
{
"hex": "#1a216c",
"rgb": {
"r": 26,
"g": 33,
"b": 108
},
"hsl": {
"h": 234.878,
"s": 61.194,
"l": 26.275
},
"oklch": {
"l": 0.29819,
"c": 0.12844,
"h": 271.7
},
"luminance": 0.0239
}Semantic roles & 50–950 ramp
primary
#1A216C
secondary
#A19941
accent
#D743E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E