#211FB4#211FB4
#211FB4 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.219 H 270.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #211FB4 |
|---|---|
| RGB | rgb(33, 31, 180) |
| HSL | hsl(241, 71%, 41%) |
| HSV | hsv(241, 83%, 71%) |
| CMYK | cmyk(81.7%, 82.8%, 0%, 29.4%) |
| CIE-LAB | lab(25.56, 51.71, -75.73) |
| CIE-LCH | lch(25.56, 91.70, 304.33°) |
| OKLab | oklab(38.09% -0.0001 -0.2192) |
| OKLCH | oklch(38.09% 0.219 270) |
| XYZ | xyz(9.3526, 4.5975, 43.5656) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.45
True Blue
#010FCC
ΔE00 3.19
Ultramarine
#2000B1
ΔE00 3.78
Mediumblue
#0000CD
ΔE00 3.91
Cobalt Blue
#030AA7
ΔE00 4.01
Royal Blue (survey)
#0504AA
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211FB4 #B2B41F
analogous
#1F68B4 #211FB4 #6C1FB4
triadic
#211FB4 #B4211F #1FB421
tetradic
#211FB4 #B41F68 #B2B41F #1FB46C
square
#211FB4 #B41F68 #B2B41F #1FB46C
split-complementary
#211FB4 #B46C1F #68B41F
monochromatic
#0E0D4C #171680 #211FB4 #3634DC #6A68E5
Accessibility & contrast
On white
10.94
#211FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#211FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211FB4
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211FB4 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0035B2
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #211fb4; /* rgb */ color: rgb(33, 31, 180); /* oklch */ color: oklch(38.1% 0.219 270.0);
Tailwind
colors: {
custom: {
50: '#7a5fcc',
500: '#211fb4',
950: '#000000',
},
}SCSS
$custom: #211fb4; $custom-light: #7a5fcc; $custom-dark: #000000;
JSON
{
"hex": "#211fb4",
"rgb": {
"r": 33,
"g": 31,
"b": 180
},
"hsl": {
"h": 240.805,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.38086,
"c": 0.21922,
"h": 270
},
"luminance": 0.04599
}Semantic roles & 50–950 ramp
primary
#211FB4
secondary
#C9CB64
accent
#ED3AEB
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982