#213FB3#213FB3
#213FB3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.187 H 266.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #213FB3 |
|---|---|
| RGB | rgb(33, 63, 179) |
| HSL | hsl(228, 69%, 42%) |
| HSV | hsv(228, 82%, 70%) |
| CMYK | cmyk(81.6%, 64.8%, 0%, 29.8%) |
| CIE-LAB | lab(32.11, 32.86, -64.32) |
| CIE-LCH | lch(32.11, 72.22, 297.06°) |
| OKLab | oklab(42.74% -0.0111 -0.1862) |
| OKLCH | oklch(42.74% 0.187 266.6) |
| XYZ | xyz(10.5385, 7.1318, 43.4602) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.26
Blue Blue
#2242C7
ΔE00 2.80
Cobalt
#0047AB
ΔE00 4.30
Ocean Blue
#4F42B5
ΔE00 5.58
Blue (survey)
#0343DF
ΔE00 5.59
Blueberry
#464196
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213FB3 #B39521
analogous
#2188B3 #213FB3 #4C21B3
triadic
#213FB3 #B3213F #3FB321
tetradic
#213FB3 #B32188 #B39521 #21B34C
square
#213FB3 #B32188 #B39521 #21B34C
split-complementary
#213FB3 #B34C21 #88B321
monochromatic
#0E1B4C #172D7F #213FB3 #3759DA #6B84E4
Accessibility & contrast
On white
8.65
#213FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#213FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213FB3
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213FB3 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #213fb3; /* rgb */ color: rgb(33, 63, 179); /* oklch */ color: oklch(42.7% 0.187 266.6);
Tailwind
colors: {
custom: {
50: '#7774cb',
500: '#213fb3',
950: '#000000',
},
}SCSS
$custom: #213fb3; $custom-light: #7774cb; $custom-dark: #000000;
JSON
{
"hex": "#213fb3",
"rgb": {
"r": 33,
"g": 63,
"b": 179
},
"hsl": {
"h": 227.671,
"s": 68.868,
"l": 41.569
},
"oklch": {
"l": 0.42743,
"c": 0.18656,
"h": 266.6
},
"luminance": 0.07133
}Semantic roles & 50–950 ramp
primary
#213FB3
secondary
#CAB566
accent
#C83CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82