#212B9E#212B9E
#212B9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.182 H 270.1°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #212B9E |
|---|---|
| RGB | rgb(33, 43, 158) |
| HSL | hsl(235, 65%, 37%) |
| HSV | hsv(235, 79%, 62%) |
| CMYK | cmyk(79.1%, 72.8%, 0%, 38%) |
| CIE-LAB | lab(25.32, 37.89, -62.85) |
| CIE-LCH | lch(25.32, 73.38, 301.08°) |
| OKLab | oklab(37.19% 0.0002 -0.182) |
| OKLCH | oklch(37.19% 0.182 270.1) |
| XYZ | xyz(7.6605, 4.5188, 32.8096) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.92
Royal
#0C1793
ΔE00 4.87
Indigo Blue
#3A18B1
ΔE00 5.57
Cobalt Blue
#030AA7
ΔE00 6.21
Royal Blue (survey)
#0504AA
ΔE00 6.75
Ultramarine
#2000B1
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212B9E #9E9421
analogous
#216A9E #212B9E #56219E
triadic
#212B9E #9E212B #2B9E21
tetradic
#212B9E #9E216A #9E9421 #219E56
square
#212B9E #9E216A #9E9421 #219E56
split-complementary
#212B9E #9E5621 #6A9E21
monochromatic
#0C0F39 #161D6B #212B9E #2C39D1 #5C67DD
Accessibility & contrast
On white
11.03
#212B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#212B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212B9E
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212B9E | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #212b9e; /* rgb */ color: rgb(33, 43, 158); /* oklch */ color: oklch(37.2% 0.182 270.1);
Tailwind
colors: {
custom: {
50: '#7365bc',
500: '#212b9e',
950: '#000000',
},
}SCSS
$custom: #212b9e; $custom-light: #7365bc; $custom-dark: #000000;
JSON
{
"hex": "#212b9e",
"rgb": {
"r": 33,
"g": 43,
"b": 158
},
"hsl": {
"h": 235.2,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.37187,
"c": 0.18201,
"h": 270.1
},
"luminance": 0.0452
}Semantic roles & 50–950 ramp
primary
#212B9E
secondary
#C1B959
accent
#DB3FE8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81