#211C7E#211C7E
#211C7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.157 H 274.8°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #211C7E |
|---|---|
| RGB | rgb(33, 28, 126) |
| HSL | hsl(243, 64%, 30%) |
| HSV | hsv(243, 78%, 49%) |
| CMYK | cmyk(73.8%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(18.63, 35.66, -53.98) |
| CIE-LCH | lch(18.63, 64.69, 303.45°) |
| OKLab | oklab(31.39% 0.013 -0.1561) |
| OKLCH | oklch(31.39% 0.157 274.8) |
| XYZ | xyz(4.8071, 2.6597, 19.9947) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.38
Royal
#0C1793
ΔE00 3.48
Dark Royal Blue
#02066F
ΔE00 5.11
Navy
#000080
ΔE00 5.32
Darkblue
#00008B
ΔE00 5.34
Deep Blue
#040273
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211C7E #797E1C
analogous
#1C487E #211C7E #521C7E
triadic
#211C7E #7E211C #1C7E21
tetradic
#211C7E #7E1C48 #797E1C #1C7E52
square
#211C7E #7E1C48 #797E1C #1C7E52
split-complementary
#211C7E #7E521C #487E1C
monochromatic
#07061A #14114C #211C7E #2E27B0 #4740D5
Accessibility & contrast
On white
13.71
#211C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#211C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211C7E
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211C7E | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #211c7e; /* rgb */ color: rgb(33, 28, 126); /* oklch */ color: oklch(31.4% 0.157 274.8);
Tailwind
colors: {
custom: {
50: '#6c5aa4',
500: '#211c7e',
950: '#000000',
},
}SCSS
$custom: #211c7e; $custom-light: #6c5aa4; $custom-dark: #000000;
JSON
{
"hex": "#211c7e",
"rgb": {
"r": 33,
"g": 28,
"b": 126
},
"hsl": {
"h": 243.061,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.31388,
"c": 0.15664,
"h": 274.8
},
"luminance": 0.0266
}Semantic roles & 50–950 ramp
primary
#211C7E
secondary
#ACB244
accent
#E741DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F