#212F92#212F92
#212F92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.162 H 269.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #212F92 |
|---|---|
| RGB | rgb(33, 47, 146) |
| HSL | hsl(233, 63%, 35%) |
| HSV | hsv(233, 77%, 57%) |
| CMYK | cmyk(77.4%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(25.05, 30.95, -55.93) |
| CIE-LCH | lch(25.05, 63.92, 298.95°) |
| OKLab | oklab(36.63% -0.0006 -0.1618) |
| OKLCH | oklch(36.63% 0.162 269.8) |
| XYZ | xyz(6.8302, 4.4309, 27.6838) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Royal
#0C1793
ΔE00 6.03
Blueberry
#464196
ΔE00 6.51
Darkslateblue
#483D8B
ΔE00 6.73
Midnight Blue
#191970
ΔE00 7.26
Indigo Blue
#3A18B1
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F92 #928421
analogous
#216892 #212F92 #4B2192
triadic
#212F92 #92212F #2F9221
tetradic
#212F92 #922168 #928421 #21924B
square
#212F92 #922168 #928421 #21924B
split-complementary
#212F92 #924B21 #689221
monochromatic
#0A0F2E #161F60 #212F92 #2C3FC4 #5565D9
Accessibility & contrast
On white
11.13
#212F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#212F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F92
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F92 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #212f92; /* rgb */ color: rgb(33, 47, 146); /* oklch */ color: oklch(36.6% 0.162 269.8);
Tailwind
colors: {
custom: {
50: '#6f67b3',
500: '#212f92',
950: '#000000',
},
}SCSS
$custom: #212f92; $custom-light: #6f67b3; $custom-dark: #000000;
JSON
{
"hex": "#212f92",
"rgb": {
"r": 33,
"g": 47,
"b": 146
},
"hsl": {
"h": 232.566,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.36628,
"c": 0.16183,
"h": 269.8
},
"luminance": 0.04432
}Semantic roles & 50–950 ramp
primary
#212F92
secondary
#BCAF53
accent
#D242E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80