#211E8E#211E8E
#211E8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.175 H 272.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #211E8E |
|---|---|
| RGB | rgb(33, 30, 142) |
| HSL | hsl(242, 65%, 34%) |
| HSV | hsv(242, 79%, 56%) |
| CMYK | cmyk(76.8%, 78.9%, 0%, 44.3%) |
| CIE-LAB | lab(20.84, 39.97, -60.38) |
| CIE-LCH | lch(20.84, 72.41, 303.50°) |
| OKLab | oklab(33.49% 0.0085 -0.1747) |
| OKLCH | oklch(33.49% 0.175 272.8) |
| XYZ | xyz(5.9723, 3.2042, 25.8897) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.95
Cobalt Blue
#030AA7
ΔE00 4.56
Midnight Blue
#191970
ΔE00 4.73
Royal Blue (survey)
#0504AA
ΔE00 5.14
Darkblue
#00008B
ΔE00 5.19
Indigo (survey)
#380282
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211E8E #8B8E1E
analogous
#1E538E #211E8E #591E8E
triadic
#211E8E #8E211E #1E8E21
tetradic
#211E8E #8E1E53 #8B8E1E #1E8E59
square
#211E8E #8E1E53 #8B8E1E #1E8E59
split-complementary
#211E8E #8E591E #538E1E
monochromatic
#0A0929 #15135B #211E8E #2D29C1 #514DD9
Accessibility & contrast
On white
12.80
#211E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#211E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211E8E
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211E8E | 1.00 | 12.80 | 1.64 | 12.80 |
| #FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #211e8e; /* rgb */ color: rgb(33, 30, 142); /* oklch */ color: oklch(33.5% 0.175 272.8);
Tailwind
colors: {
custom: {
50: '#705cb0',
500: '#211e8e',
950: '#000000',
},
}SCSS
$custom: #211e8e; $custom-light: #705cb0; $custom-dark: #000000;
JSON
{
"hex": "#211e8e",
"rgb": {
"r": 33,
"g": 30,
"b": 142
},
"hsl": {
"h": 241.607,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.33488,
"c": 0.17494,
"h": 272.8
},
"luminance": 0.03205
}Semantic roles & 50–950 ramp
primary
#211E8E
secondary
#B9BC4C
accent
#E840E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980