#212BAF#212BAF
#212BAF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.203 H 269.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #212BAF |
|---|---|
| RGB | rgb(33, 43, 175) |
| HSL | hsl(236, 68%, 41%) |
| HSV | hsv(236, 81%, 69%) |
| CMYK | cmyk(81.1%, 75.4%, 0%, 31.4%) |
| CIE-LAB | lab(27.14, 43.82, -70.10) |
| CIE-LCH | lch(27.14, 82.67, 302.01°) |
| OKLab | oklab(39.03% -0.0022 -0.2031) |
| OKLCH | oklch(39.03% 0.203 269.4) |
| XYZ | xyz(9.2263, 5.1452, 41.0560) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.68
Indigo Blue
#3A18B1
ΔE00 4.46
True Blue
#010FCC
ΔE00 5.32
Royal
#0C1793
ΔE00 5.96
Cobalt Blue
#030AA7
ΔE00 6.09
Mediumblue
#0000CD
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212BAF #AFA521
analogous
#2172AF #212BAF #5E21AF
triadic
#212BAF #AF212B #2BAF21
tetradic
#212BAF #AF2172 #AFA521 #21AF5E
square
#212BAF #AF2172 #AFA521 #21AF5E
split-complementary
#212BAF #AF5E21 #72AF21
monochromatic
#0E1248 #171E7C #212BAF #3440D9 #6871E3
Accessibility & contrast
On white
10.35
#212BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#212BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212BAF
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212BAF | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #212baf; /* rgb */ color: rgb(33, 43, 175); /* oklch */ color: oklch(39.0% 0.203 269.4);
Tailwind
colors: {
custom: {
50: '#7766c8',
500: '#212baf',
950: '#000000',
},
}SCSS
$custom: #212baf; $custom-light: #7766c8; $custom-dark: #000000;
JSON
{
"hex": "#212baf",
"rgb": {
"r": 33,
"g": 43,
"b": 175
},
"hsl": {
"h": 235.775,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.39032,
"c": 0.20311,
"h": 269.4
},
"luminance": 0.05146
}Semantic roles & 50–950 ramp
primary
#212BAF
secondary
#C8C164
accent
#DF3DEB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82