#21306F#21306F
#21306F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.111 H 269.5°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #21306F |
|---|---|
| RGB | rgb(33, 48, 111) |
| HSL | hsl(228, 54%, 28%) |
| HSV | hsv(228, 70%, 44%) |
| CMYK | cmyk(70.3%, 56.8%, 0%, 56.5%) |
| CIE-LAB | lab(22.25, 16.72, -38.46) |
| CIE-LCH | lch(22.25, 41.94, 293.50°) |
| OKLab | oklab(33.6% -0.001 -0.1105) |
| OKLCH | oklch(33.6% 0.111 269.5) |
| XYZ | xyz(4.5524, 3.5845, 15.4878) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.58
Marine Blue
#01386A
ΔE00 6.35
Navy Blue
#1B2A4A
ΔE00 7.03
Midnight Blue
#191970
ΔE00 7.43
Darkish Blue
#014182
ΔE00 7.79
Darkslateblue
#483D8B
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21306F #6F6021
analogous
#21576F #21306F #39216F
triadic
#21306F #6F2130 #306F21
tetradic
#21306F #6F2157 #6F6021 #216F39
square
#21306F #6F2157 #6F6021 #216F39
split-complementary
#21306F #6F3921 #576F21
monochromatic
#070A18 #131C40 #21306F #2F449E #435DC7
Accessibility & contrast
On white
12.23
#21306F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#21306F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21306F
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21306F | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#033971
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #21306f; /* rgb */ color: rgb(33, 48, 111); /* oklch */ color: oklch(33.6% 0.111 269.5);
Tailwind
colors: {
custom: {
50: '#676899',
500: '#21306f',
950: '#000000',
},
}SCSS
$custom: #21306f; $custom-light: #676899; $custom-dark: #000000;
JSON
{
"hex": "#21306f",
"rgb": {
"r": 33,
"g": 48,
"b": 111
},
"hsl": {
"h": 228.462,
"s": 54.167,
"l": 28.235
},
"oklch": {
"l": 0.33601,
"c": 0.11055,
"h": 269.5
},
"luminance": 0.03585
}Semantic roles & 50–950 ramp
primary
#21306F
secondary
#A39149
accent
#C14ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E