#21306C#21306C
#21306C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.106 H 269.3°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #21306C |
|---|---|
| RGB | rgb(33, 48, 108) |
| HSL | hsl(228, 53%, 28%) |
| HSV | hsv(228, 69%, 42%) |
| CMYK | cmyk(69.4%, 55.6%, 0%, 57.6%) |
| CIE-LAB | lab(22.01, 15.54, -36.90) |
| CIE-LCH | lch(22.01, 40.04, 292.84°) |
| OKLab | oklab(33.35% -0.0012 -0.106) |
| OKLCH | oklch(33.35% 0.106 269.3) |
| XYZ | xyz(4.3900, 3.5195, 14.6324) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.31
Marine Blue
#01386A
ΔE00 6.22
Navy Blue
#1B2A4A
ΔE00 6.55
Midnight Blue
#191970
ΔE00 7.71
Darkish Blue
#014182
ΔE00 7.87
Darkslateblue
#483D8B
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21306C #6C5D21
analogous
#21556C #21306C #38216C
triadic
#21306C #6C2130 #306C21
tetradic
#21306C #6C2155 #6C5D21 #216C38
square
#21306C #6C2155 #6C5D21 #216C38
split-complementary
#21306C #6C3821 #556C21
monochromatic
#070A17 #131B3D #21306C #2F459B #425CC5
Accessibility & contrast
On white
12.32
#21306C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#21306C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21306C
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21306C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21306C | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09386E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #21306c; /* rgb */ color: rgb(33, 48, 108); /* oklch */ color: oklch(33.4% 0.106 269.3);
Tailwind
colors: {
custom: {
50: '#666797',
500: '#21306c',
950: '#000000',
},
}SCSS
$custom: #21306c; $custom-light: #666797; $custom-dark: #000000;
JSON
{
"hex": "#21306c",
"rgb": {
"r": 33,
"g": 48,
"b": 108
},
"hsl": {
"h": 228,
"s": 53.191,
"l": 27.647
},
"oklch": {
"l": 0.33352,
"c": 0.10598,
"h": 269.3
},
"luminance": 0.0352
}Semantic roles & 50–950 ramp
primary
#21306C
secondary
#A08E49
accent
#C04BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E