#21339B#21339B
#21339B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.169 H 268.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #21339B |
|---|---|
| RGB | rgb(33, 51, 155) |
| HSL | hsl(231, 65%, 37%) |
| HSV | hsv(231, 79%, 61%) |
| CMYK | cmyk(78.7%, 67.1%, 0%, 39.2%) |
| CIE-LAB | lab(26.90, 31.69, -58.42) |
| CIE-LCH | lch(26.90, 66.46, 298.48°) |
| OKLab | oklab(38.24% -0.0035 -0.1691) |
| OKLCH | oklch(38.24% 0.169 268.8) |
| XYZ | xyz(7.7254, 5.0567, 31.5729) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.53
Blueberry
#464196
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 6.70
Royal
#0C1793
ΔE00 7.04
Blue Blue
#2242C7
ΔE00 7.08
Cobalt
#0047AB
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21339B #9B8921
analogous
#21709B #21339B #4C219B
triadic
#21339B #9B2133 #339B21
tetradic
#21339B #9B2170 #9B8921 #219B4C
square
#21339B #9B2170 #9B8921 #219B4C
split-complementary
#21339B #9B4C21 #709B21
monochromatic
#0C1236 #162269 #21339B #2C44CD #5A6EDC
Accessibility & contrast
On white
10.44
#21339B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#21339B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21339B
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21339B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21339B | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #21339b; /* rgb */ color: rgb(33, 51, 155); /* oklch */ color: oklch(38.2% 0.169 268.8);
Tailwind
colors: {
custom: {
50: '#716ab9',
500: '#21339b',
950: '#000000',
},
}SCSS
$custom: #21339b; $custom-light: #716ab9; $custom-dark: #000000;
JSON
{
"hex": "#21339b",
"rgb": {
"r": 33,
"g": 51,
"b": 155
},
"hsl": {
"h": 231.148,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.38239,
"c": 0.16912,
"h": 268.8
},
"luminance": 0.05058
}Semantic roles & 50–950 ramp
primary
#21339B
secondary
#C0B158
accent
#CF40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81