#21339F#21339F
#21339F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.174 H 268.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #21339F |
|---|---|
| RGB | rgb(33, 51, 159) |
| HSL | hsl(231, 66%, 38%) |
| HSV | hsv(231, 79%, 62%) |
| CMYK | cmyk(79.2%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(27.28, 33.19, -60.23) |
| CIE-LCH | lch(27.28, 68.76, 298.86°) |
| OKLab | oklab(38.64% -0.0038 -0.1744) |
| OKLCH | oklch(38.64% 0.174 268.8) |
| XYZ | xyz(8.0669, 5.1933, 33.3714) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.08
Blueberry
#464196
ΔE00 6.01
Blue Blue
#2242C7
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 6.90
Royal
#0C1793
ΔE00 7.04
Cobalt
#0047AB
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21339F #9F8D21
analogous
#21729F #21339F #4E219F
triadic
#21339F #9F2133 #339F21
tetradic
#21339F #9F2172 #9F8D21 #219F4E
square
#21339F #9F2172 #9F8D21 #219F4E
split-complementary
#21339F #9F4E21 #729F21
monochromatic
#0C123A #16236C #21339F #2C43D2 #5D6FDD
Accessibility & contrast
On white
10.30
#21339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#21339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21339F
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21339F | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #21339f; /* rgb */ color: rgb(33, 51, 159); /* oklch */ color: oklch(38.6% 0.174 268.8);
Tailwind
colors: {
custom: {
50: '#726bbc',
500: '#21339f',
950: '#000000',
},
}SCSS
$custom: #21339f; $custom-light: #726bbc; $custom-dark: #000000;
JSON
{
"hex": "#21339f",
"rgb": {
"r": 33,
"g": 51,
"b": 159
},
"hsl": {
"h": 231.429,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.38635,
"c": 0.1744,
"h": 268.8
},
"luminance": 0.05194
}Semantic roles & 50–950 ramp
primary
#21339F
secondary
#C2B35A
accent
#D03FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81