#21498D#21498D
#21498D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.122 H 260.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #21498D |
|---|---|
| RGB | rgb(33, 73, 141) |
| HSL | hsl(218, 62%, 34%) |
| HSV | hsv(218, 77%, 55%) |
| CMYK | cmyk(76.6%, 48.2%, 0%, 44.7%) |
| CIE-LAB | lab(31.83, 11.26, -41.83) |
| CIE-LCH | lch(31.83, 43.32, 285.07°) |
| OKLab | oklab(41.59% -0.0205 -0.12) |
| OKLCH | oklch(41.59% 0.122 260.3) |
| XYZ | xyz(7.8157, 7.0106, 26.1354) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.46
Darkish Blue
#014182
ΔE00 3.31
Dusk Blue
#26538D
ΔE00 3.53
Twilight Blue
#0A437A
ΔE00 3.76
Cobalt
#0047AB
ΔE00 4.08
Light Navy
#155084
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21498D #8D6521
analogous
#217F8D #21498D #2F218D
triadic
#21498D #8D2149 #498D21
tetradic
#21498D #8D217F #8D6521 #218D2F
square
#21498D #8D217F #8D6521 #218D2F
split-complementary
#21498D #8D2F21 #7F8D21
monochromatic
#0A162A #152F5B #21498D #2D63BF #5283D6
Accessibility & contrast
On white
8.74
#21498D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#21498D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21498D
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21498D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21498D | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#07468C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #21498d; /* rgb */ color: rgb(33, 73, 141); /* oklch */ color: oklch(41.6% 0.122 260.3);
Tailwind
colors: {
custom: {
50: '#6c7baf',
500: '#21498d',
950: '#000000',
},
}SCSS
$custom: #21498d; $custom-light: #6c7baf; $custom-dark: #000000;
JSON
{
"hex": "#21498d",
"rgb": {
"r": 33,
"g": 73,
"b": 141
},
"hsl": {
"h": 217.778,
"s": 62.069,
"l": 34.118
},
"oklch": {
"l": 0.41594,
"c": 0.12176,
"h": 260.3
},
"luminance": 0.07012
}Semantic roles & 50–950 ramp
primary
#21498D
secondary
#BA9350
accent
#A943E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F