#21349F#21349F
#21349F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.173 H 268.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #21349F |
|---|---|
| RGB | rgb(33, 52, 159) |
| HSL | hsl(231, 66%, 38%) |
| HSV | hsv(231, 79%, 62%) |
| CMYK | cmyk(79.2%, 67.3%, 0%, 37.6%) |
| CIE-LAB | lab(27.52, 32.53, -59.83) |
| CIE-LCH | lch(27.52, 68.10, 298.54°) |
| OKLab | oklab(38.81% -0.0043 -0.1732) |
| OKLCH | oklch(38.81% 0.173 268.6) |
| XYZ | xyz(8.1110, 5.2816, 33.3861) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.93
Blueberry
#464196
ΔE00 5.87
Blue Blue
#2242C7
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 6.83
Cobalt
#0047AB
ΔE00 6.91
Ocean Blue
#4F42B5
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21349F #9F8C21
analogous
#21739F #21349F #4D219F
triadic
#21349F #9F2134 #349F21
tetradic
#21349F #9F2173 #9F8C21 #219F4D
square
#21349F #9F2173 #9F8C21 #219F4D
split-complementary
#21349F #9F4D21 #739F21
monochromatic
#0C133A #16236C #21349F #2C45D2 #5D70DD
Accessibility & contrast
On white
10.21
#21349F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#21349F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21349F
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21349F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21349F | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #21349f; /* rgb */ color: rgb(33, 52, 159); /* oklch */ color: oklch(38.8% 0.173 268.6);
Tailwind
colors: {
custom: {
50: '#726bbc',
500: '#21349f',
950: '#000000',
},
}SCSS
$custom: #21349f; $custom-light: #726bbc; $custom-dark: #000000;
JSON
{
"hex": "#21349f",
"rgb": {
"r": 33,
"g": 52,
"b": 159
},
"hsl": {
"h": 230.952,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.38813,
"c": 0.17324,
"h": 268.6
},
"luminance": 0.05283
}Semantic roles & 50–950 ramp
primary
#21349F
secondary
#C2B25A
accent
#CF3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81