#21498E#21498E
#21498E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.123 H 260.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #21498E |
|---|---|
| RGB | rgb(33, 73, 142) |
| HSL | hsl(218, 62%, 34%) |
| HSV | hsv(218, 77%, 56%) |
| CMYK | cmyk(76.8%, 48.6%, 0%, 44.3%) |
| CIE-LAB | lab(31.90, 11.66, -42.33) |
| CIE-LCH | lch(31.90, 43.91, 285.40°) |
| OKLab | oklab(41.67% -0.0203 -0.1215) |
| OKLCH | oklch(41.67% 0.123 260.5) |
| XYZ | xyz(7.8905, 7.0405, 26.5290) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.39
Darkish Blue
#014182
ΔE00 3.39
Dusk Blue
#26538D
ΔE00 3.57
Twilight Blue
#0A437A
ΔE00 3.87
Cobalt
#0047AB
ΔE00 3.96
Light Navy
#155084
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21498E #8E6621
analogous
#21808E #21498E #30218E
triadic
#21498E #8E2149 #498E21
tetradic
#21498E #8E2180 #8E6621 #218E30
square
#21498E #8E2180 #8E6621 #218E30
split-complementary
#21498E #8E3021 #808E21
monochromatic
#0A162B #152F5C #21498E #2D63C0 #5283D7
Accessibility & contrast
On white
8.72
#21498E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#21498E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21498E
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21498E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21498E | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#04468D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #21498e; /* rgb */ color: rgb(33, 73, 142); /* oklch */ color: oklch(41.7% 0.123 260.5);
Tailwind
colors: {
custom: {
50: '#6d7baf',
500: '#21498e',
950: '#000000',
},
}SCSS
$custom: #21498e; $custom-light: #6d7baf; $custom-dark: #000000;
JSON
{
"hex": "#21498e",
"rgb": {
"r": 33,
"g": 73,
"b": 142
},
"hsl": {
"h": 217.982,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.41668,
"c": 0.12319,
"h": 260.5
},
"luminance": 0.07041
}Semantic roles & 50–950 ramp
primary
#21498E
secondary
#BA9450
accent
#AA42E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F