#21339C#21339C
#21339C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.170 H 268.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #21339C |
|---|---|
| RGB | rgb(33, 51, 156) |
| HSL | hsl(231, 65%, 37%) |
| HSV | hsv(231, 79%, 61%) |
| CMYK | cmyk(78.8%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(26.99, 32.07, -58.87) |
| CIE-LCH | lch(26.99, 67.04, 298.58°) |
| OKLab | oklab(38.34% -0.0036 -0.1704) |
| OKLCH | oklch(38.34% 0.17 268.8) |
| XYZ | xyz(7.8097, 5.0904, 32.0170) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.41
Blueberry
#464196
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.75
Blue Blue
#2242C7
ΔE00 6.97
Royal
#0C1793
ΔE00 7.03
Cobalt
#0047AB
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21339C #9C8A21
analogous
#21709C #21339C #4D219C
triadic
#21339C #9C2133 #339C21
tetradic
#21339C #9C2170 #9C8A21 #219C4D
square
#21339C #9C2170 #9C8A21 #219C4D
split-complementary
#21339C #9C4D21 #709C21
monochromatic
#0C1237 #162269 #21339C #2C44CF #5B6EDC
Accessibility & contrast
On white
10.41
#21339C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#21339C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21339C
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21339C | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #21339c; /* rgb */ color: rgb(33, 51, 156); /* oklch */ color: oklch(38.3% 0.170 268.8);
Tailwind
colors: {
custom: {
50: '#726aba',
500: '#21339c',
950: '#000000',
},
}SCSS
$custom: #21339c; $custom-light: #726aba; $custom-dark: #000000;
JSON
{
"hex": "#21339c",
"rgb": {
"r": 33,
"g": 51,
"b": 156
},
"hsl": {
"h": 231.22,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.38338,
"c": 0.17045,
"h": 268.8
},
"luminance": 0.05091
}Semantic roles & 50–950 ramp
primary
#21339C
secondary
#C1B158
accent
#CF40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81