#21498F#21498F
#21498F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.7% C 0.125 H 260.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #21498F |
|---|---|
| RGB | rgb(33, 73, 143) |
| HSL | hsl(218, 63%, 35%) |
| HSV | hsv(218, 77%, 56%) |
| CMYK | cmyk(76.9%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(31.97, 12.06, -42.83) |
| CIE-LCH | lch(31.97, 44.50, 285.72°) |
| OKLab | oklab(41.74% -0.0202 -0.123) |
| OKLCH | oklch(41.74% 0.125 260.7) |
| XYZ | xyz(7.9659, 7.0707, 26.9262) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.37
Darkish Blue
#014182
ΔE00 3.47
Dusk Blue
#26538D
ΔE00 3.61
Cobalt
#0047AB
ΔE00 3.83
Twilight Blue
#0A437A
ΔE00 3.99
Light Navy
#155084
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21498F #8F6721
analogous
#21808F #21498F #30218F
triadic
#21498F #8F2149 #498F21
tetradic
#21498F #8F2180 #8F6721 #218F30
square
#21498F #8F2180 #8F6721 #218F30
split-complementary
#21498F #8F3021 #808F21
monochromatic
#0A162C #16305D #21498F #2C62C1 #5383D7
Accessibility & contrast
On white
8.70
#21498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#21498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21498F
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21498F | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#01468E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #21498f; /* rgb */ color: rgb(33, 73, 143); /* oklch */ color: oklch(41.7% 0.125 260.7);
Tailwind
colors: {
custom: {
50: '#6d7bb0',
500: '#21498f',
950: '#000000',
},
}SCSS
$custom: #21498f; $custom-light: #6d7bb0; $custom-dark: #000000;
JSON
{
"hex": "#21498f",
"rgb": {
"r": 33,
"g": 73,
"b": 143
},
"hsl": {
"h": 218.182,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.41742,
"c": 0.12462,
"h": 260.7
},
"luminance": 0.07072
}Semantic roles & 50–950 ramp
primary
#21498F
secondary
#BB9451
accent
#AA42E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F