#22389F#22389F
#22389F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.168 H 268.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #22389F |
|---|---|
| RGB | rgb(34, 56, 159) |
| HSL | hsl(229, 65%, 38%) |
| HSV | hsv(229, 79%, 62%) |
| CMYK | cmyk(78.6%, 64.8%, 0%, 37.6%) |
| CIE-LAB | lab(28.57, 30.00, -58.11) |
| CIE-LCH | lch(28.57, 65.40, 297.30°) |
| OKLab | oklab(39.59% -0.0057 -0.1681) |
| OKLCH | oklch(39.59% 0.168 268.1) |
| XYZ | xyz(8.3297, 5.6707, 33.4497) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.73
Blueberry
#464196
ΔE00 5.39
Cobalt
#0047AB
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 6.63
Ocean Blue
#4F42B5
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22389F #9F8922
analogous
#22769F #22389F #4A229F
triadic
#22389F #9F2238 #389F22
tetradic
#22389F #9F2276 #9F8922 #229F4A
square
#22389F #9F2276 #9F8922 #229F4A
split-complementary
#22389F #9F4A22 #769F22
monochromatic
#0C143A #17266D #22389F #2D4AD1 #5F75DD
Accessibility & contrast
On white
9.84
#22389F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#22389F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22389F
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22389F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22389F | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #22389f; /* rgb */ color: rgb(34, 56, 159); /* oklch */ color: oklch(39.6% 0.168 268.1);
Tailwind
colors: {
custom: {
50: '#726ebc',
500: '#22389f',
950: '#000000',
},
}SCSS
$custom: #22389f; $custom-light: #726ebc; $custom-dark: #000000;
JSON
{
"hex": "#22389f",
"rgb": {
"r": 34,
"g": 56,
"b": 159
},
"hsl": {
"h": 229.44,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.39591,
"c": 0.16822,
"h": 268.1
},
"luminance": 0.05672
}Semantic roles & 50–950 ramp
primary
#22389F
secondary
#C1AF5B
accent
#CA40E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81