#212CBD#212CBD
#212CBD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.219 H 268.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #212CBD |
|---|---|
| RGB | rgb(33, 44, 189) |
| HSL | hsl(236, 70%, 44%) |
| HSV | hsv(236, 83%, 74%) |
| CMYK | cmyk(82.5%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(28.90, 47.99, -75.53) |
| CIE-LCH | lch(28.90, 89.49, 302.43°) |
| OKLab | oklab(40.73% -0.0047 -0.2189) |
| OKLCH | oklch(40.73% 0.219 268.8) |
| XYZ | xyz(10.7100, 5.7975, 48.6888) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.16
True Blue
#010FCC
ΔE00 4.64
Indigo Blue
#3A18B1
ΔE00 4.65
Ultramarine Blue
#1805DB
ΔE00 5.50
Mediumblue
#0000CD
ΔE00 5.71
Pure Blue
#0203E2
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212CBD #BDB221
analogous
#217ABD #212CBD #6421BD
triadic
#212CBD #BD212C #2CBD21
tetradic
#212CBD #BD217A #BDB221 #21BD64
square
#212CBD #BD217A #BDB221 #21BD64
split-complementary
#212CBD #BD6421 #7ABD21
monochromatic
#0F1455 #182089 #212CBD #3E49DD #727AE6
Accessibility & contrast
On white
9.72
#212CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#212CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212CBD
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212CBD | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #212cbd; /* rgb */ color: rgb(33, 44, 189); /* oklch */ color: oklch(40.7% 0.219 268.8);
Tailwind
colors: {
custom: {
50: '#7b67d2',
500: '#212cbd',
950: '#000000',
},
}SCSS
$custom: #212cbd; $custom-light: #7b67d2; $custom-dark: #000000;
JSON
{
"hex": "#212cbd",
"rgb": {
"r": 33,
"g": 44,
"b": 189
},
"hsl": {
"h": 235.769,
"s": 70.27,
"l": 43.529
},
"oklch": {
"l": 0.40728,
"c": 0.21891,
"h": 268.8
},
"luminance": 0.05799
}Semantic roles & 50–950 ramp
primary
#212CBD
secondary
#CDC66D
accent
#E03BED
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0B0614
muted
#7C7A83