#211780#211780
#211780 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.164 H 275.2°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #211780 |
|---|---|
| RGB | rgb(33, 23, 128) |
| HSL | hsl(246, 70%, 30%) |
| HSV | hsv(246, 82%, 50%) |
| CMYK | cmyk(74.2%, 82%, 0%, 49.8%) |
| CIE-LAB | lab(17.89, 39.09, -56.46) |
| CIE-LCH | lch(17.89, 68.68, 304.70°) |
| OKLab | oklab(30.94% 0.0149 -0.1633) |
| OKLCH | oklch(30.94% 0.164 275.2) |
| XYZ | xyz(4.8286, 2.4942, 20.6448) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.92
Royal
#0C1793
ΔE00 2.98
Darkblue
#00008B
ΔE00 4.18
Navy
#000080
ΔE00 4.20
Dark Royal Blue
#02066F
ΔE00 4.39
Indigo (survey)
#380282
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211780 #768017
analogous
#174280 #211780 #551780
triadic
#211780 #802117 #178021
tetradic
#211780 #801742 #768017 #178055
square
#211780 #801742 #768017 #178055
split-complementary
#211780 #805517 #428017
monochromatic
#07051A #140E4C #211780 #2E20B4 #4636DB
Accessibility & contrast
On white
14.01
#211780 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#211780 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211780
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211780 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211780 | 1.00 | 14.01 | 1.50 | 14.01 |
| #FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #211780; /* rgb */ color: rgb(33, 23, 128); /* oklch */ color: oklch(30.9% 0.164 275.2);
Tailwind
colors: {
custom: {
50: '#6d57a6',
500: '#211780',
950: '#000000',
},
}SCSS
$custom: #211780; $custom-light: #6d57a6; $custom-dark: #000000;
JSON
{
"hex": "#211780",
"rgb": {
"r": 33,
"g": 23,
"b": 128
},
"hsl": {
"h": 245.714,
"s": 69.536,
"l": 29.608
},
"oklch": {
"l": 0.30941,
"c": 0.16394,
"h": 275.2
},
"luminance": 0.02495
}Semantic roles & 50–950 ramp
primary
#211780
secondary
#A9B43E
accent
#EC3BDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F