#212D9F#212D9F
#212D9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.181 H 269.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #212D9F |
|---|---|
| RGB | rgb(33, 45, 159) |
| HSL | hsl(234, 66%, 38%) |
| HSV | hsv(234, 79%, 62%) |
| CMYK | cmyk(79.2%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(25.87, 37.01, -62.55) |
| CIE-LCH | lch(25.87, 72.67, 300.61°) |
| OKLab | oklab(37.61% -0.0008 -0.1811) |
| OKLCH | oklch(37.61% 0.181 269.7) |
| XYZ | xyz(7.8214, 4.7024, 33.2896) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.38
Royal
#0C1793
ΔE00 5.40
Indigo Blue
#3A18B1
ΔE00 5.91
Cobalt Blue
#030AA7
ΔE00 6.71
Blueberry
#464196
ΔE00 7.01
Royal Blue (survey)
#0504AA
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212D9F #9F9321
analogous
#216C9F #212D9F #54219F
triadic
#212D9F #9F212D #2D9F21
tetradic
#212D9F #9F216C #9F9321 #219F54
square
#212D9F #9F216C #9F9321 #219F54
split-complementary
#212D9F #9F5421 #6C9F21
monochromatic
#0C103A #161F6C #212D9F #2C3BD2 #5D69DD
Accessibility & contrast
On white
10.82
#212D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#212D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212D9F
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212D9F | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #212d9f; /* rgb */ color: rgb(33, 45, 159); /* oklch */ color: oklch(37.6% 0.181 269.7);
Tailwind
colors: {
custom: {
50: '#7366bd',
500: '#212d9f',
950: '#000000',
},
}SCSS
$custom: #212d9f; $custom-light: #7366bd; $custom-dark: #000000;
JSON
{
"hex": "#212d9f",
"rgb": {
"r": 33,
"g": 45,
"b": 159
},
"hsl": {
"h": 234.286,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.37614,
"c": 0.18114,
"h": 269.7
},
"luminance": 0.04703
}Semantic roles & 50–950 ramp
primary
#212D9F
secondary
#C2B85A
accent
#D83FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81