#211B7C#211B7C
#211B7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.155 H 275.2°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #211B7C |
|---|---|
| RGB | rgb(33, 27, 124) |
| HSL | hsl(244, 64%, 30%) |
| HSV | hsv(244, 78%, 49%) |
| CMYK | cmyk(73.4%, 78.2%, 0%, 51.4%) |
| CIE-LAB | lab(18.20, 35.55, -53.41) |
| CIE-LCH | lch(18.20, 64.16, 303.64°) |
| OKLab | oklab(31.02% 0.014 -0.1544) |
| OKLCH | oklch(31.02% 0.155 275.2) |
| XYZ | xyz(4.6560, 2.5620, 19.3140) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.10
Royal
#0C1793
ΔE00 3.70
Dark Royal Blue
#02066F
ΔE00 4.83
Deep Blue
#040273
ΔE00 5.16
Navy
#000080
ΔE00 5.17
Darkblue
#00008B
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211B7C #767C1B
analogous
#1B467C #211B7C #511B7C
triadic
#211B7C #7C211B #1B7C21
tetradic
#211B7C #7C1B46 #767C1B #1B7C51
square
#211B7C #7C1B46 #767C1B #1B7C51
split-complementary
#211B7C #7C511B #467C1B
monochromatic
#070519 #14104A #211B7C #2E26AE #463DD5
Accessibility & contrast
On white
13.89
#211B7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#211B7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211B7C
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211B7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211B7C | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #211b7c; /* rgb */ color: rgb(33, 27, 124); /* oklch */ color: oklch(31.0% 0.155 275.2);
Tailwind
colors: {
custom: {
50: '#6c59a3',
500: '#211b7c',
950: '#000000',
},
}SCSS
$custom: #211b7c; $custom-light: #6c59a3; $custom-dark: #000000;
JSON
{
"hex": "#211b7c",
"rgb": {
"r": 33,
"g": 27,
"b": 124
},
"hsl": {
"h": 243.711,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.31018,
"c": 0.15508,
"h": 275.2
},
"luminance": 0.02562
}Semantic roles & 50–950 ramp
primary
#211B7C
secondary
#A9B043
accent
#E741DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F