#21139F#21139F
#21139F is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.3% C 0.203 H 272.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #21139F |
|---|---|
| RGB | rgb(33, 19, 159) |
| HSL | hsl(246, 79%, 35%) |
| HSV | hsv(246, 88%, 62%) |
| CMYK | cmyk(79.2%, 88.1%, 0%, 37.6%) |
| CIE-LAB | lab(21.18, 50.50, -70.32) |
| CIE-LCH | lch(21.18, 86.57, 305.68°) |
| OKLab | oklab(34.32% 0.0073 -0.2033) |
| OKLCH | oklch(34.32% 0.203 272.1) |
| XYZ | xyz(7.1160, 3.2915, 33.0545) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 1.76
Royal Blue (survey)
#0504AA
ΔE00 2.20
Royal
#0C1793
ΔE00 2.37
Ultramarine
#2000B1
ΔE00 2.74
Indigo Blue
#3A18B1
ΔE00 3.70
Darkblue
#00008B
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21139F #919F13
analogous
#134B9F #21139F #67139F
triadic
#21139F #9F2113 #139F21
tetradic
#21139F #9F134B #919F13 #139F67
square
#21139F #9F134B #919F13 #139F67
split-complementary
#21139F #9F6713 #4B9F13
monochromatic
#0A0632 #160C68 #21139F #2C1AD6 #5444E9
Accessibility & contrast
On white
12.66
#21139F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#21139F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21139F
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21139F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21139F | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #21139f; /* rgb */ color: rgb(33, 19, 159); /* oklch */ color: oklch(34.3% 0.203 272.1);
Tailwind
colors: {
custom: {
50: '#7558bd',
500: '#21139f',
950: '#000000',
},
}SCSS
$custom: #21139f; $custom-light: #7558bd; $custom-dark: #000000;
JSON
{
"hex": "#21139f",
"rgb": {
"r": 33,
"g": 19,
"b": 159
},
"hsl": {
"h": 246,
"s": 78.652,
"l": 34.902
},
"oklch": {
"l": 0.34319,
"c": 0.20346,
"h": 272.1
},
"luminance": 0.03292
}Semantic roles & 50–950 ramp
primary
#21139F
secondary
#BCC945
accent
#F533E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981