#211F7A#211F7A
#211F7A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.148 H 274.7°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #211F7A |
|---|---|
| RGB | rgb(33, 31, 122) |
| HSL | hsl(241, 59%, 30%) |
| HSV | hsv(241, 75%, 48%) |
| CMYK | cmyk(73%, 74.6%, 0%, 52.2%) |
| CIE-LAB | lab(18.83, 32.44, -51.09) |
| CIE-LCH | lch(18.83, 60.52, 302.42°) |
| OKLab | oklab(31.41% 0.0121 -0.1477) |
| OKLCH | oklch(31.41% 0.148 274.7) |
| XYZ | xyz(4.6289, 2.7080, 18.6873) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.07
Royal
#0C1793
ΔE00 4.42
Dark Royal Blue
#02066F
ΔE00 5.66
Deep Blue
#040273
ΔE00 6.12
Darkblue (survey)
#030764
ΔE00 6.17
Navy
#000080
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211F7A #787A1F
analogous
#1F4A7A #211F7A #4F1F7A
triadic
#211F7A #7A211F #1F7A21
tetradic
#211F7A #7A1F4A #787A1F #1F7A4F
square
#211F7A #7A1F4A #787A1F #1F7A4F
split-complementary
#211F7A #7A4F1F #4A7A1F
monochromatic
#070618 #141349 #211F7A #2E2BAB #4744CF
Accessibility & contrast
On white
13.62
#211F7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#211F7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211F7A
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211F7A | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #211f7a; /* rgb */ color: rgb(33, 31, 122); /* oklch */ color: oklch(31.4% 0.148 274.7);
Tailwind
colors: {
custom: {
50: '#6b5ca1',
500: '#211f7a',
950: '#000000',
},
}SCSS
$custom: #211f7a; $custom-light: #6b5ca1; $custom-dark: #000000;
JSON
{
"hex": "#211f7a",
"rgb": {
"r": 33,
"g": 31,
"b": 122
},
"hsl": {
"h": 241.319,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.31405,
"c": 0.14818,
"h": 274.7
},
"luminance": 0.02708
}Semantic roles & 50–950 ramp
primary
#211F7A
secondary
#ABAD47
accent
#E345DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F