#21498C#21498C
#21498C is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.5% C 0.120 H 260.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #21498C |
|---|---|
| RGB | rgb(33, 73, 140) |
| HSL | hsl(218, 62%, 34%) |
| HSV | hsv(218, 76%, 55%) |
| CMYK | cmyk(76.4%, 47.9%, 0%, 45.1%) |
| CIE-LAB | lab(31.76, 10.86, -41.32) |
| CIE-LCH | lch(31.76, 42.73, 284.73°) |
| OKLab | oklab(41.52% -0.0207 -0.1185) |
| OKLCH | oklch(41.52% 0.12 260.1) |
| XYZ | xyz(7.7417, 6.9810, 25.7453) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.56
Darkish Blue
#014182
ΔE00 3.24
Dusk Blue
#26538D
ΔE00 3.50
Twilight Blue
#0A437A
ΔE00 3.65
Cobalt
#0047AB
ΔE00 4.21
Light Navy
#155084
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21498C #8C6421
analogous
#217F8C #21498C #2F218C
triadic
#21498C #8C2149 #498C21
tetradic
#21498C #8C217F #8C6421 #218C2F
square
#21498C #8C217F #8C6421 #218C2F
split-complementary
#21498C #8C2F21 #7F8C21
monochromatic
#0A1529 #152F5A #21498C #2D63BE #5183D6
Accessibility & contrast
On white
8.76
#21498C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#21498C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21498C
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21498C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21498C | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#0A468B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #21498c; /* rgb */ color: rgb(33, 73, 140); /* oklch */ color: oklch(41.5% 0.120 260.1);
Tailwind
colors: {
custom: {
50: '#6c7bae',
500: '#21498c',
950: '#000000',
},
}SCSS
$custom: #21498c; $custom-light: #6c7bae; $custom-dark: #000000;
JSON
{
"hex": "#21498c",
"rgb": {
"r": 33,
"g": 73,
"b": 140
},
"hsl": {
"h": 217.57,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.4152,
"c": 0.12032,
"h": 260.1
},
"luminance": 0.06982
}Semantic roles & 50–950 ramp
primary
#21498C
secondary
#B9924F
accent
#A843E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F