#21296F#21296F
#21296F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.120 H 272.7°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #21296F |
|---|---|
| RGB | rgb(33, 41, 111) |
| HSL | hsl(234, 54%, 28%) |
| HSV | hsv(234, 70%, 44%) |
| CMYK | cmyk(70.3%, 63.1%, 0%, 56.5%) |
| CIE-LAB | lab(20.27, 21.67, -41.67) |
| CIE-LCH | lch(20.27, 46.97, 297.48°) |
| OKLab | oklab(32.12% 0.0056 -0.1201) |
| OKLCH | oklch(32.12% 0.12 272.7) |
| XYZ | xyz(4.2884, 3.0565, 15.3998) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.92
Marine
#042E60
ΔE00 6.21
Navy Blue
#1B2A4A
ΔE00 7.90
Royal
#0C1793
ΔE00 8.11
Darkslateblue
#483D8B
ΔE00 8.16
Marine Blue
#01386A
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21296F #6F6721
analogous
#21506F #21296F #40216F
triadic
#21296F #6F2129 #296F21
tetradic
#21296F #6F2150 #6F6721 #216F40
square
#21296F #6F2150 #6F6721 #216F40
split-complementary
#21296F #6F4021 #506F21
monochromatic
#070918 #131840 #21296F #2F3A9E #4351C7
Accessibility & contrast
On white
13.03
#21296F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#21296F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21296F
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21296F | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #21296f; /* rgb */ color: rgb(33, 41, 111); /* oklch */ color: oklch(32.1% 0.120 272.7);
Tailwind
colors: {
custom: {
50: '#676299',
500: '#21296f',
950: '#000000',
},
}SCSS
$custom: #21296f; $custom-light: #676299; $custom-dark: #000000;
JSON
{
"hex": "#21296f",
"rgb": {
"r": 33,
"g": 41,
"b": 111
},
"hsl": {
"h": 233.846,
"s": 54.167,
"l": 28.235
},
"oklch": {
"l": 0.32123,
"c": 0.12022,
"h": 272.7
},
"luminance": 0.03057
}Semantic roles & 50–950 ramp
primary
#21296F
secondary
#A39949
accent
#CE4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E