#211796#211796
#211796 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.6% C 0.190 H 272.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #211796 |
|---|---|
| RGB | rgb(33, 23, 150) |
| HSL | hsl(245, 73%, 34%) |
| HSV | hsv(245, 85%, 59%) |
| CMYK | cmyk(78%, 84.7%, 0%, 41.2%) |
| CIE-LAB | lab(20.59, 46.11, -65.77) |
| CIE-LCH | lch(20.59, 80.32, 305.03°) |
| OKLab | oklab(33.59% 0.0089 -0.1902) |
| OKLCH | oklch(33.59% 0.19 272.7) |
| XYZ | xyz(6.4368, 3.1374, 29.1146) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.44
Cobalt Blue
#030AA7
ΔE00 2.83
Royal Blue (survey)
#0504AA
ΔE00 3.35
Ultramarine
#2000B1
ΔE00 4.08
Darkblue
#00008B
ΔE00 4.15
Indigo Blue
#3A18B1
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211796 #8C9617
analogous
#174D96 #211796 #611796
triadic
#211796 #962117 #179621
tetradic
#211796 #96174D #8C9617 #179661
square
#211796 #96174D #8C9617 #179661
split-complementary
#211796 #966117 #4D9617
monochromatic
#0A072C #150F61 #211796 #2D1FCB #5145E2
Accessibility & contrast
On white
12.90
#211796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#211796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211796
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211796 | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003799
Deuteranopia (green-blind)
#002B94
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #211796; /* rgb */ color: rgb(33, 23, 150); /* oklch */ color: oklch(33.6% 0.190 272.7);
Tailwind
colors: {
custom: {
50: '#7359b6',
500: '#211796',
950: '#000000',
},
}SCSS
$custom: #211796; $custom-light: #7359b6; $custom-dark: #000000;
JSON
{
"hex": "#211796",
"rgb": {
"r": 33,
"g": 23,
"b": 150
},
"hsl": {
"h": 244.724,
"s": 73.41,
"l": 33.922
},
"oklch": {
"l": 0.33587,
"c": 0.19046,
"h": 272.7
},
"luminance": 0.03138
}Semantic roles & 50–950 ramp
primary
#211796
secondary
#B9C345
accent
#F038E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980