#21309F#21309F
#21309F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.178 H 269.3°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #21309F |
|---|---|
| RGB | rgb(33, 48, 159) |
| HSL | hsl(233, 66%, 38%) |
| HSV | hsv(233, 79%, 62%) |
| CMYK | cmyk(79.2%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(26.56, 35.12, -61.41) |
| CIE-LCH | lch(26.56, 70.74, 299.77°) |
| OKLab | oklab(38.11% -0.0023 -0.1778) |
| OKLCH | oklch(38.11% 0.178 269.3) |
| XYZ | xyz(7.9400, 4.9395, 33.3291) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.69
Royal
#0C1793
ΔE00 6.19
Blueberry
#464196
ΔE00 6.48
Indigo Blue
#3A18B1
ΔE00 6.62
Blue Blue
#2242C7
ΔE00 7.15
Darkslateblue
#483D8B
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21309F #9F9021
analogous
#216F9F #21309F #51219F
triadic
#21309F #9F2130 #309F21
tetradic
#21309F #9F216F #9F9021 #219F51
square
#21309F #9F216F #9F9021 #219F51
split-complementary
#21309F #9F5121 #6F9F21
monochromatic
#0C113A #16216C #21309F #2C3FD2 #5D6CDD
Accessibility & contrast
On white
10.56
#21309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#21309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21309F
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21309F | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #21309f; /* rgb */ color: rgb(33, 48, 159); /* oklch */ color: oklch(38.1% 0.178 269.3);
Tailwind
colors: {
custom: {
50: '#7368bc',
500: '#21309f',
950: '#000000',
},
}SCSS
$custom: #21309f; $custom-light: #7368bc; $custom-dark: #000000;
JSON
{
"hex": "#21309f",
"rgb": {
"r": 33,
"g": 48,
"b": 159
},
"hsl": {
"h": 232.857,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.38114,
"c": 0.17782,
"h": 269.3
},
"luminance": 0.0494
}Semantic roles & 50–950 ramp
primary
#21309F
secondary
#C2B55A
accent
#D43FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81