#21209F#21209F
#21209F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.194 H 271.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #21209F |
|---|---|
| RGB | rgb(33, 32, 159) |
| HSL | hsl(240, 66%, 37%) |
| HSV | hsv(240, 80%, 62%) |
| CMYK | cmyk(79.2%, 79.9%, 0%, 37.6%) |
| CIE-LAB | lab(23.20, 44.54, -66.96) |
| CIE-LCH | lch(23.20, 80.42, 303.63°) |
| OKLab | oklab(35.72% 0.0042 -0.1938) |
| OKLCH | oklch(35.72% 0.194 271.2) |
| XYZ | xyz(7.3996, 3.8587, 33.1490) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.80
Cobalt Blue
#030AA7
ΔE00 3.63
Indigo Blue
#3A18B1
ΔE00 3.86
Royal Blue (survey)
#0504AA
ΔE00 4.16
Ultramarine
#2000B1
ΔE00 4.50
True Blue
#010FCC
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21209F #9E9F20
analogous
#205F9F #21209F #60209F
triadic
#21209F #9F2120 #209F21
tetradic
#21209F #9F205F #9E9F20 #209F60
square
#21209F #9F205F #9E9F20 #209F60
split-complementary
#21209F #9F6020 #5F9F20
monochromatic
#0C0B39 #16166C #21209F #2C2AD2 #5C5BDE
Accessibility & contrast
On white
11.85
#21209F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#21209F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21209F
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21209F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21209F | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #21209f; /* rgb */ color: rgb(33, 32, 159); /* oklch */ color: oklch(35.7% 0.194 271.2);
Tailwind
colors: {
custom: {
50: '#745ebd',
500: '#21209f',
950: '#000000',
},
}SCSS
$custom: #21209f; $custom-light: #745ebd; $custom-dark: #000000;
JSON
{
"hex": "#21209f",
"rgb": {
"r": 33,
"g": 32,
"b": 159
},
"hsl": {
"h": 240.472,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.35717,
"c": 0.19389,
"h": 271.2
},
"luminance": 0.0386
}Semantic roles & 50–950 ramp
primary
#21209F
secondary
#C1C259
accent
#E93EE8
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981