#213FB4#213FB4
#213FB4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.188 H 266.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #213FB4 |
|---|---|
| RGB | rgb(33, 63, 180) |
| HSL | hsl(228, 69%, 42%) |
| HSV | hsv(228, 82%, 71%) |
| CMYK | cmyk(81.7%, 65%, 0%, 29.4%) |
| CIE-LAB | lab(32.20, 33.23, -64.76) |
| CIE-LCH | lch(32.20, 72.79, 297.16°) |
| OKLab | oklab(42.84% -0.0111 -0.1875) |
| OKLCH | oklch(42.84% 0.188 266.6) |
| XYZ | xyz(10.6400, 7.1724, 43.9948) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.30
Blue Blue
#2242C7
ΔE00 2.67
Cobalt
#0047AB
ΔE00 4.37
Blue (survey)
#0343DF
ΔE00 5.46
Ocean Blue
#4F42B5
ΔE00 5.53
Blueberry
#464196
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213FB4 #B49621
analogous
#2189B4 #213FB4 #4D21B4
triadic
#213FB4 #B4213F #3FB421
tetradic
#213FB4 #B42189 #B49621 #21B44D
square
#213FB4 #B42189 #B49621 #21B44D
split-complementary
#213FB4 #B44D21 #89B421
monochromatic
#0E1B4D #182D80 #213FB4 #3859DA #6B84E4
Accessibility & contrast
On white
8.62
#213FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#213FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213FB4
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213FB4 | 1.00 | 8.62 | 2.43 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #213fb4; /* rgb */ color: rgb(33, 63, 180); /* oklch */ color: oklch(42.8% 0.188 266.6);
Tailwind
colors: {
custom: {
50: '#7774cc',
500: '#213fb4',
950: '#000000',
},
}SCSS
$custom: #213fb4; $custom-light: #7774cc; $custom-dark: #000000;
JSON
{
"hex": "#213fb4",
"rgb": {
"r": 33,
"g": 63,
"b": 180
},
"hsl": {
"h": 227.755,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.42838,
"c": 0.18786,
"h": 266.6
},
"luminance": 0.07174
}Semantic roles & 50–950 ramp
primary
#213FB4
secondary
#CAB667
accent
#C83CEC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0813
muted
#7C7B82