#213F9D#213F9D
#213F9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.157 H 266.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #213F9D |
|---|---|
| RGB | rgb(33, 63, 157) |
| HSL | hsl(225, 65%, 37%) |
| HSV | hsv(225, 79%, 62%) |
| CMYK | cmyk(79%, 59.9%, 0%, 38.4%) |
| CIE-LAB | lab(30.19, 24.42, -54.25) |
| CIE-LCH | lch(30.19, 59.49, 294.23°) |
| OKLab | oklab(40.73% -0.011 -0.1567) |
| OKLCH | oklch(40.73% 0.157 266) |
| XYZ | xyz(8.4884, 6.3117, 32.6627) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.42
Cobalt
#0047AB
ΔE00 3.71
Cobalt (survey)
#1E488F
ΔE00 4.56
Blueberry
#464196
ΔE00 5.48
Blue Blue
#2242C7
ΔE00 5.89
Darkish Blue
#014182
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213F9D #9D7F21
analogous
#217D9D #213F9D #41219D
triadic
#213F9D #9D213F #3F9D21
tetradic
#213F9D #9D217D #9D7F21 #219D41
square
#213F9D #9D217D #9D7F21 #219D41
split-complementary
#213F9D #9D4121 #7D9D21
monochromatic
#0C1638 #162B6A #213F9D #2C53D0 #5C7BDD
Accessibility & contrast
On white
9.28
#213F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#213F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213F9D
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213F9D | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #213f9d; /* rgb */ color: rgb(33, 63, 157); /* oklch */ color: oklch(40.7% 0.157 266.0);
Tailwind
colors: {
custom: {
50: '#7173bb',
500: '#213f9d',
950: '#000000',
},
}SCSS
$custom: #213f9d; $custom-light: #7173bb; $custom-dark: #000000;
JSON
{
"hex": "#213f9d",
"rgb": {
"r": 33,
"g": 63,
"b": 157
},
"hsl": {
"h": 225.484,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.40727,
"c": 0.15713,
"h": 266
},
"luminance": 0.06313
}Semantic roles & 50–950 ramp
primary
#213F9D
secondary
#C1A859
accent
#BF40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81