#211F7C#211F7C
#211F7C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.151 H 274.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #211F7C |
|---|---|
| RGB | rgb(33, 31, 124) |
| HSL | hsl(241, 60%, 30%) |
| HSV | hsv(241, 75%, 49%) |
| CMYK | cmyk(73.4%, 75%, 0%, 51.4%) |
| CIE-LAB | lab(19.05, 33.16, -52.01) |
| CIE-LCH | lch(19.05, 61.68, 302.52°) |
| OKLab | oklab(31.62% 0.0117 -0.1504) |
| OKLCH | oklch(31.62% 0.151 274.4) |
| XYZ | xyz(4.7541, 2.7581, 19.3467) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.29
Royal
#0C1793
ΔE00 4.12
Dark Royal Blue
#02066F
ΔE00 5.69
Deep Blue
#040273
ΔE00 6.11
Navy
#000080
ΔE00 6.15
Darkblue
#00008B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F7C #7A7C1F
analogous
#1F4C7C #211F7C #4F1F7C
triadic
#211F7C #7C211F #1F7C21
tetradic
#211F7C #7C1F4C #7A7C1F #1F7C4F
square
#211F7C #7C1F4C #7A7C1F #1F7C4F
split-complementary
#211F7C #7C4F1F #4C7C1F
monochromatic
#07071A #14134B #211F7C #2E2BAD #4845D0
Accessibility & contrast
On white
13.53
#211F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#211F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F7C
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F7C | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #211f7c; /* rgb */ color: rgb(33, 31, 124); /* oklch */ color: oklch(31.6% 0.151 274.4);
Tailwind
colors: {
custom: {
50: '#6b5ca3',
500: '#211f7c',
950: '#000000',
},
}SCSS
$custom: #211f7c; $custom-light: #6b5ca3; $custom-dark: #000000;
JSON
{
"hex": "#211f7c",
"rgb": {
"r": 33,
"g": 31,
"b": 124
},
"hsl": {
"h": 241.29,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.31622,
"c": 0.15084,
"h": 274.4
},
"luminance": 0.02759
}Semantic roles & 50–950 ramp
primary
#211F7C
secondary
#ADAF48
accent
#E345E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F