#22389C#22389C
#22389C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.164 H 268.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #22389C |
|---|---|
| RGB | rgb(34, 56, 156) |
| HSL | hsl(229, 64%, 37%) |
| HSV | hsv(229, 78%, 61%) |
| CMYK | cmyk(78.2%, 64.1%, 0%, 38.8%) |
| CIE-LAB | lab(28.29, 28.86, -56.73) |
| CIE-LCH | lch(28.29, 63.65, 296.96°) |
| OKLab | oklab(39.31% -0.0056 -0.1641) |
| OKLCH | oklch(39.31% 0.164 268) |
| XYZ | xyz(8.0725, 5.5678, 32.0953) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.19
Blueberry
#464196
ΔE00 5.33
Cobalt
#0047AB
ΔE00 5.82
Blue Blue
#2242C7
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.49
Cobalt (survey)
#1E488F
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22389C #9C8622
analogous
#22759C #22389C #49229C
triadic
#22389C #9C2238 #389C22
tetradic
#22389C #9C2275 #9C8622 #229C49
square
#22389C #9C2275 #9C8622 #229C49
split-complementary
#22389C #9C4922 #759C22
monochromatic
#0C1438 #17266A #22389C #2D4ACE #5D74DC
Accessibility & contrast
On white
9.93
#22389C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#22389C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22389C
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22389C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22389C | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #22389c; /* rgb */ color: rgb(34, 56, 156); /* oklch */ color: oklch(39.3% 0.164 268.0);
Tailwind
colors: {
custom: {
50: '#726eba',
500: '#22389c',
950: '#000000',
},
}SCSS
$custom: #22389c; $custom-light: #726eba; $custom-dark: #000000;
JSON
{
"hex": "#22389c",
"rgb": {
"r": 34,
"g": 56,
"b": 156
},
"hsl": {
"h": 229.18,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.39308,
"c": 0.16419,
"h": 268
},
"luminance": 0.05569
}Semantic roles & 50–950 ramp
primary
#22389C
secondary
#C0AE5A
accent
#C941E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81