#221487#221487
#221487 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.175 H 275.1°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).
Color values
| HEX | #221487 |
|---|---|
| RGB | rgb(34, 20, 135) |
| HSL | hsl(247, 74%, 30%) |
| HSV | hsv(247, 85%, 53%) |
| CMYK | cmyk(74.8%, 85.2%, 0%, 47.1%) |
| CIE-LAB | lab(18.32, 42.88, -60.18) |
| CIE-LCH | lch(18.32, 73.90, 305.47°) |
| OKLab | oklab(31.5% 0.0155 -0.174) |
| OKLCH | oklch(31.5% 0.175 275.1) |
| XYZ | xyz(5.2816, 2.5891, 23.1384) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.24
Darkblue
#00008B
ΔE00 3.38
Navy
#000080
ΔE00 3.81
Indigo (survey)
#380282
ΔE00 3.84
Midnight Blue
#191970
ΔE00 4.15
Cobalt Blue
#030AA7
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#221487 #798714
analogous
#144087 #221487 #5B1487
triadic
#221487 #872214 #148722
tetradic
#221487 #871440 #798714 #14875B
square
#221487 #871440 #798714 #14875B
split-complementary
#221487 #875B14 #408714
monochromatic
#07041C #150C52 #221487 #2F1CBC #4934E1
Accessibility & contrast
On white
13.83
#221487 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#221487 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #221487
13.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##221487 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##221487 | 1.00 | 13.83 | 1.52 | 13.83 |
| #FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002785
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #221487; /* rgb */ color: rgb(34, 20, 135); /* oklch */ color: oklch(31.5% 0.175 275.1);
Tailwind
colors: {
custom: {
50: '#7056ab',
500: '#221487',
950: '#000000',
},
}SCSS
$custom: #221487; $custom-light: #7056ab; $custom-dark: #000000;
JSON
{
"hex": "#221487",
"rgb": {
"r": 34,
"g": 20,
"b": 135
},
"hsl": {
"h": 247.304,
"s": 74.194,
"l": 30.392
},
"oklch": {
"l": 0.31503,
"c": 0.17466,
"h": 275.1
},
"luminance": 0.0259
}Semantic roles & 50–950 ramp
primary
#221487
secondary
#ACBB3B
accent
#F137DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F