#212F93#212F93
#212F93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.163 H 269.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #212F93 |
|---|---|
| RGB | rgb(33, 47, 147) |
| HSL | hsl(233, 63%, 35%) |
| HSV | hsv(233, 78%, 58%) |
| CMYK | cmyk(77.6%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(25.14, 31.32, -56.39) |
| CIE-LCH | lch(25.14, 64.50, 299.05°) |
| OKLab | oklab(36.73% -0.0007 -0.1632) |
| OKLCH | oklch(36.73% 0.163 269.8) |
| XYZ | xyz(6.9084, 4.4622, 28.0953) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.02
Royal
#0C1793
ΔE00 5.99
Blueberry
#464196
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 6.76
Midnight Blue
#191970
ΔE00 7.34
Indigo Blue
#3A18B1
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F93 #938521
analogous
#216893 #212F93 #4C2193
triadic
#212F93 #93212F #2F9321
tetradic
#212F93 #932168 #938521 #21934C
square
#212F93 #932168 #938521 #21934C
split-complementary
#212F93 #934C21 #689321
monochromatic
#0B0F2F #161F61 #212F93 #2C3FC5 #5566D9
Accessibility & contrast
On white
11.10
#212F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#212F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F93
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F93 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #212f93; /* rgb */ color: rgb(33, 47, 147); /* oklch */ color: oklch(36.7% 0.163 269.8);
Tailwind
colors: {
custom: {
50: '#7067b4',
500: '#212f93',
950: '#000000',
},
}SCSS
$custom: #212f93; $custom-light: #7067b4; $custom-dark: #000000;
JSON
{
"hex": "#212f93",
"rgb": {
"r": 33,
"g": 47,
"b": 147
},
"hsl": {
"h": 232.632,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.36727,
"c": 0.16317,
"h": 269.8
},
"luminance": 0.04463
}Semantic roles & 50–950 ramp
primary
#212F93
secondary
#BDB053
accent
#D241E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80