#21308F#21308F
#21308F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.157 H 269.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #21308F |
|---|---|
| RGB | rgb(33, 48, 143) |
| HSL | hsl(232, 63%, 35%) |
| HSV | hsv(232, 77%, 56%) |
| CMYK | cmyk(76.9%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(25.01, 29.15, -54.13) |
| CIE-LCH | lch(25.01, 61.48, 298.30°) |
| OKLab | oklab(36.52% -0.001 -0.1566) |
| OKLCH | oklch(36.52% 0.157 269.6) |
| XYZ | xyz(6.6404, 4.4197, 26.4844) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.37
Blueberry
#464196
ΔE00 6.38
Royal
#0C1793
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.56
Midnight Blue
#191970
ΔE00 7.27
Indigo Blue
#3A18B1
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21308F #8F8021
analogous
#21678F #21308F #49218F
triadic
#21308F #8F2130 #308F21
tetradic
#21308F #8F2167 #8F8021 #218F49
square
#21308F #8F2167 #8F8021 #218F49
split-complementary
#21308F #8F4921 #678F21
monochromatic
#0A0F2C #161F5D #21308F #2C41C1 #5365D7
Accessibility & contrast
On white
11.15
#21308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#21308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21308F
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21308F | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #21308f; /* rgb */ color: rgb(33, 48, 143); /* oklch */ color: oklch(36.5% 0.157 269.6);
Tailwind
colors: {
custom: {
50: '#6f68b1',
500: '#21308f',
950: '#000000',
},
}SCSS
$custom: #21308f; $custom-light: #6f68b1; $custom-dark: #000000;
JSON
{
"hex": "#21308f",
"rgb": {
"r": 33,
"g": 48,
"b": 143
},
"hsl": {
"h": 231.818,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.36515,
"c": 0.15656,
"h": 269.6
},
"luminance": 0.0442
}Semantic roles & 50–950 ramp
primary
#21308F
secondary
#BBAC51
accent
#CF42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80