#211F8C#211F8C
#211F8C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.171 H 272.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #211F8C |
|---|---|
| RGB | rgb(33, 31, 140) |
| HSL | hsl(241, 64%, 34%) |
| HSV | hsv(241, 78%, 55%) |
| CMYK | cmyk(76.4%, 77.9%, 0%, 45.1%) |
| CIE-LAB | lab(20.81, 38.73, -59.18) |
| CIE-LCH | lch(20.81, 70.73, 303.20°) |
| OKLab | oklab(33.4% 0.0085 -0.1713) |
| OKLCH | oklch(33.4% 0.171 272.9) |
| XYZ | xyz(5.8492, 3.1961, 25.1145) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.24
Midnight Blue
#191970
ΔE00 4.47
Cobalt Blue
#030AA7
ΔE00 4.94
Darkblue
#00008B
ΔE00 5.43
Royal Blue (survey)
#0504AA
ΔE00 5.53
Indigo (survey)
#380282
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F8C #8A8C1F
analogous
#1F538C #211F8C #571F8C
triadic
#211F8C #8C211F #1F8C21
tetradic
#211F8C #8C1F53 #8A8C1F #1F8C57
square
#211F8C #8C1F53 #8A8C1F #1F8C57
split-complementary
#211F8C #8C571F #538C1F
monochromatic
#090928 #15145A #211F8C #2D2ABE #504ED8
Accessibility & contrast
On white
12.81
#211F8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#211F8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F8C
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F8C | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002D8A
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #211f8c; /* rgb */ color: rgb(33, 31, 140); /* oklch */ color: oklch(33.4% 0.171 272.9);
Tailwind
colors: {
custom: {
50: '#6f5caf',
500: '#211f8c',
950: '#000000',
},
}SCSS
$custom: #211f8c; $custom-light: #6f5caf; $custom-dark: #000000;
JSON
{
"hex": "#211f8c",
"rgb": {
"r": 33,
"g": 31,
"b": 140
},
"hsl": {
"h": 241.101,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.33398,
"c": 0.17148,
"h": 272.9
},
"luminance": 0.03197
}Semantic roles & 50–950 ramp
primary
#211F8C
secondary
#B9BB4C
accent
#E741E4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F