#211874#211874
#211874 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.148 H 276.8°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #211874 |
|---|---|
| RGB | rgb(33, 24, 116) |
| HSL | hsl(246, 66%, 27%) |
| HSV | hsv(246, 79%, 45%) |
| CMYK | cmyk(71.6%, 79.3%, 0%, 54.5%) |
| CIE-LAB | lab(16.69, 34.54, -50.78) |
| CIE-LCH | lch(16.69, 61.41, 304.23°) |
| OKLab | oklab(29.69% 0.0175 -0.1467) |
| OKLCH | oklch(29.69% 0.148 276.8) |
| XYZ | xyz(4.1052, 2.2372, 16.7351) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.29
Dark Royal Blue
#02066F
ΔE00 4.07
Darkblue (survey)
#030764
ΔE00 4.53
Deep Blue
#040273
ΔE00 4.55
Royal
#0C1793
ΔE00 4.80
Navy
#000080
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#211874 #6B7418
analogous
#183D74 #211874 #4F1874
triadic
#211874 #742118 #187421
tetradic
#211874 #74183D #6B7418 #18744F
square
#211874 #74183D #6B7418 #18744F
split-complementary
#211874 #744F18 #3D7418
monochromatic
#070519 #130E41 #211874 #2F22A7 #4232D5
Accessibility & contrast
On white
14.51
#211874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#211874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #211874
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##211874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##211874 | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #211874; /* rgb */ color: rgb(33, 24, 116); /* oklch */ color: oklch(29.7% 0.148 276.8);
Tailwind
colors: {
custom: {
50: '#6a579d',
500: '#211874',
950: '#000000',
},
}SCSS
$custom: #211874; $custom-light: #6a579d; $custom-dark: #000000;
JSON
{
"hex": "#211874",
"rgb": {
"r": 33,
"g": 24,
"b": 116
},
"hsl": {
"h": 245.87,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.29685,
"c": 0.14778,
"h": 276.8
},
"luminance": 0.02238
}Semantic roles & 50–950 ramp
primary
#211874
secondary
#9FA93F
accent
#E93FD8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E