#211D7C#211D7C
#211D7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.153 H 274.8°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #211D7C |
|---|---|
| RGB | rgb(33, 29, 124) |
| HSL | hsl(243, 62%, 30%) |
| HSV | hsv(243, 77%, 49%) |
| CMYK | cmyk(73.4%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(18.61, 34.37, -52.73) |
| CIE-LCH | lch(18.61, 62.94, 303.10°) |
| OKLab | oklab(31.31% 0.0129 -0.1525) |
| OKLCH | oklch(31.31% 0.153 274.8) |
| XYZ | xyz(4.7035, 2.6568, 19.3298) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.13
Royal
#0C1793
ΔE00 3.88
Dark Royal Blue
#02066F
ΔE00 5.24
Deep Blue
#040273
ΔE00 5.62
Navy
#000080
ΔE00 5.64
Darkblue
#00008B
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211D7C #787C1D
analogous
#1D497C #211D7C #501D7C
triadic
#211D7C #7C211D #1D7C21
tetradic
#211D7C #7C1D49 #787C1D #1D7C50
square
#211D7C #7C1D49 #787C1D #1D7C50
split-complementary
#211D7C #7C501D #497C1D
monochromatic
#070619 #14114A #211D7C #2E29AE #4741D3
Accessibility & contrast
On white
13.71
#211D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#211D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211D7C
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211D7C | 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)
#00327F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #211d7c; /* rgb */ color: rgb(33, 29, 124); /* oklch */ color: oklch(31.3% 0.153 274.8);
Tailwind
colors: {
custom: {
50: '#6c5aa3',
500: '#211d7c',
950: '#000000',
},
}SCSS
$custom: #211d7c; $custom-light: #6c5aa3; $custom-dark: #000000;
JSON
{
"hex": "#211d7c",
"rgb": {
"r": 33,
"g": 29,
"b": 124
},
"hsl": {
"h": 242.526,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.31313,
"c": 0.153,
"h": 274.8
},
"luminance": 0.02657
}Semantic roles & 50–950 ramp
primary
#211D7C
secondary
#ABB045
accent
#E543DE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F