#214798#214798
#214798 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.140 H 262.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #214798 |
|---|---|
| RGB | rgb(33, 71, 152) |
| HSL | hsl(221, 64%, 36%) |
| HSV | hsv(221, 78%, 60%) |
| CMYK | cmyk(78.3%, 53.3%, 0%, 40.4%) |
| CIE-LAB | lab(32.02, 17.00, -48.23) |
| CIE-LCH | lch(32.02, 51.14, 289.41°) |
| OKLab | oklab(41.99% -0.0173 -0.1389) |
| OKLCH | oklch(41.99% 0.14 262.9) |
| XYZ | xyz(8.5459, 7.0958, 30.6189) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.69
Cobalt
#0047AB
ΔE00 2.65
Darkish Blue
#014182
ΔE00 4.34
Dusk Blue
#26538D
ΔE00 4.83
Twilight Blue
#0A437A
ΔE00 5.18
Sapphire
#0F52BA
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#214798 #987221
analogous
#218398 #214798 #372198
triadic
#214798 #982147 #479821
tetradic
#214798 #982183 #987221 #219837
square
#214798 #982183 #987221 #219837
split-complementary
#214798 #983721 #839821
monochromatic
#0B1833 #163066 #214798 #2C5ECA #5982DB
Accessibility & contrast
On white
8.68
#214798 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#214798 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #214798
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##214798 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##214798 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E519B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #214798; /* rgb */ color: rgb(33, 71, 152); /* oklch */ color: oklch(42.0% 0.140 262.9);
Tailwind
colors: {
custom: {
50: '#6f79b7',
500: '#214798',
950: '#000000',
},
}SCSS
$custom: #214798; $custom-light: #6f79b7; $custom-dark: #000000;
JSON
{
"hex": "#214798",
"rgb": {
"r": 33,
"g": 71,
"b": 152
},
"hsl": {
"h": 220.84,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.4199,
"c": 0.13997,
"h": 262.9
},
"luminance": 0.07097
}Semantic roles & 50–950 ramp
primary
#214798
secondary
#BF9D56
accent
#B240E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80