#21309B#21309B
#21309B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.173 H 269.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #21309B |
|---|---|
| RGB | rgb(33, 48, 155) |
| HSL | hsl(233, 65%, 37%) |
| HSV | hsv(233, 79%, 61%) |
| CMYK | cmyk(78.7%, 69%, 0%, 39.2%) |
| CIE-LAB | lab(26.17, 33.65, -59.62) |
| CIE-LCH | lch(26.17, 68.46, 299.44°) |
| OKLab | oklab(37.71% -0.0019 -0.1726) |
| OKLCH | oklch(37.71% 0.173 269.4) |
| XYZ | xyz(7.5985, 4.8029, 31.5306) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Royal
#0C1793
ΔE00 6.16
Blueberry
#464196
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.96
Indigo Blue
#3A18B1
ΔE00 6.99
Blue Blue
#2242C7
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21309B #9B8C21
analogous
#216D9B #21309B #4F219B
triadic
#21309B #9B2130 #309B21
tetradic
#21309B #9B216D #9B8C21 #219B4F
square
#21309B #9B216D #9B8C21 #219B4F
split-complementary
#21309B #9B4F21 #6D9B21
monochromatic
#0C1136 #162069 #21309B #2C40CD #5A6ADC
Accessibility & contrast
On white
10.71
#21309B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#21309B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21309B
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21309B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21309B | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #21309b; /* rgb */ color: rgb(33, 48, 155); /* oklch */ color: oklch(37.7% 0.173 269.4);
Tailwind
colors: {
custom: {
50: '#7268ba',
500: '#21309b',
950: '#000000',
},
}SCSS
$custom: #21309b; $custom-light: #7268ba; $custom-dark: #000000;
JSON
{
"hex": "#21309b",
"rgb": {
"r": 33,
"g": 48,
"b": 155
},
"hsl": {
"h": 232.623,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.37707,
"c": 0.17261,
"h": 269.4
},
"luminance": 0.04804
}Semantic roles & 50–950 ramp
primary
#21309B
secondary
#C0B358
accent
#D340E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81