#213F9C#213F9C
#213F9C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.156 H 265.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #213F9C |
|---|---|
| RGB | rgb(33, 63, 156) |
| HSL | hsl(225, 65%, 37%) |
| HSV | hsv(225, 79%, 61%) |
| CMYK | cmyk(78.8%, 59.6%, 0%, 38.8%) |
| CIE-LAB | lab(30.10, 24.03, -53.78) |
| CIE-LCH | lch(30.10, 58.90, 294.07°) |
| OKLab | oklab(40.64% -0.0111 -0.1554) |
| OKLCH | oklch(40.64% 0.156 265.9) |
| XYZ | xyz(8.4033, 6.2777, 32.2149) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.54
Cobalt
#0047AB
ΔE00 3.74
Cobalt (survey)
#1E488F
ΔE00 4.46
Blueberry
#464196
ΔE00 5.50
Darkish Blue
#014182
ΔE00 5.80
Blue Blue
#2242C7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213F9C #9C7E21
analogous
#217D9C #213F9C #41219C
triadic
#213F9C #9C213F #3F9C21
tetradic
#213F9C #9C217D #9C7E21 #219C41
square
#213F9C #9C217D #9C7E21 #219C41
split-complementary
#213F9C #9C4121 #7D9C21
monochromatic
#0C1637 #162B69 #213F9C #2C53CF #5B7BDC
Accessibility & contrast
On white
9.31
#213F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#213F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213F9C
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213F9C | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #213f9c; /* rgb */ color: rgb(33, 63, 156); /* oklch */ color: oklch(40.6% 0.156 265.9);
Tailwind
colors: {
custom: {
50: '#7173ba',
500: '#213f9c',
950: '#000000',
},
}SCSS
$custom: #213f9c; $custom-light: #7173ba; $custom-dark: #000000;
JSON
{
"hex": "#213f9c",
"rgb": {
"r": 33,
"g": 63,
"b": 156
},
"hsl": {
"h": 225.366,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.40639,
"c": 0.15575,
"h": 265.9
},
"luminance": 0.06279
}Semantic roles & 50–950 ramp
primary
#213F9C
secondary
#C1A758
accent
#BF40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81