#21336E#21336E
#21336E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.105 H 267.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #21336E |
|---|---|
| RGB | rgb(33, 51, 110) |
| HSL | hsl(226, 54%, 28%) |
| HSV | hsv(226, 70%, 43%) |
| CMYK | cmyk(70%, 53.6%, 0%, 56.9%) |
| CIE-LAB | lab(23.05, 14.20, -36.51) |
| CIE-LCH | lch(23.05, 39.17, 291.25°) |
| OKLab | oklab(34.19% -0.0041 -0.1048) |
| OKLCH | oklch(34.19% 0.105 267.8) |
| XYZ | xyz(4.6245, 3.8163, 15.2417) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.07
Marine Blue
#01386A
ΔE00 5.41
Navy Blue
#1B2A4A
ΔE00 6.74
Darkish Blue
#014182
ΔE00 6.87
Twilight Blue
#0A437A
ΔE00 7.43
Cobalt (survey)
#1E488F
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21336E #6E5C21
analogous
#21596E #21336E #35216E
triadic
#21336E #6E2133 #336E21
tetradic
#21336E #6E2159 #6E5C21 #216E35
square
#21336E #6E2159 #6E5C21 #216E35
split-complementary
#21336E #6E3521 #596E21
monochromatic
#070B18 #131D3F #21336E #2F499D #4362C7
Accessibility & contrast
On white
11.91
#21336E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#21336E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21336E
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21336E | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#103B70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #21336e; /* rgb */ color: rgb(33, 51, 110); /* oklch */ color: oklch(34.2% 0.105 267.8);
Tailwind
colors: {
custom: {
50: '#666a98',
500: '#21336e',
950: '#000000',
},
}SCSS
$custom: #21336e; $custom-light: #666a98; $custom-dark: #000000;
JSON
{
"hex": "#21336e",
"rgb": {
"r": 33,
"g": 51,
"b": 110
},
"hsl": {
"h": 225.974,
"s": 53.846,
"l": 28.039
},
"oklch": {
"l": 0.34186,
"c": 0.10485,
"h": 267.8
},
"luminance": 0.03817
}Semantic roles & 50–950 ramp
primary
#21336E
secondary
#A28D49
accent
#BB4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E