#22379E#22379E
#22379E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.168 H 268.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #22379E |
|---|---|
| RGB | rgb(34, 55, 158) |
| HSL | hsl(230, 65%, 38%) |
| HSV | hsv(230, 78%, 62%) |
| CMYK | cmyk(78.5%, 65.2%, 0%, 38%) |
| CIE-LAB | lab(28.22, 30.28, -58.07) |
| CIE-LCH | lch(28.22, 65.49, 297.54°) |
| OKLab | oklab(39.31% -0.0051 -0.168) |
| OKLCH | oklch(39.31% 0.168 268.3) |
| XYZ | xyz(8.1953, 5.5402, 32.9786) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.85
Blueberry
#464196
ΔE00 5.45
Cobalt
#0047AB
ΔE00 6.09
Blue Blue
#2242C7
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 6.59
Ocean Blue
#4F42B5
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22379E #9E8922
analogous
#22759E #22379E #4B229E
triadic
#22379E #9E2237 #379E22
tetradic
#22379E #9E2275 #9E8922 #229E4B
square
#22379E #9E2275 #9E8922 #229E4B
split-complementary
#22379E #9E4B22 #759E22
monochromatic
#0C1439 #17256C #22379E #2D49D0 #5E73DC
Accessibility & contrast
On white
9.96
#22379E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#22379E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22379E
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22379E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22379E | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #22379e; /* rgb */ color: rgb(34, 55, 158); /* oklch */ color: oklch(39.3% 0.168 268.3);
Tailwind
colors: {
custom: {
50: '#726dbc',
500: '#22379e',
950: '#000000',
},
}SCSS
$custom: #22379e; $custom-light: #726dbc; $custom-dark: #000000;
JSON
{
"hex": "#22379e",
"rgb": {
"r": 34,
"g": 55,
"b": 158
},
"hsl": {
"h": 229.839,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.3931,
"c": 0.16809,
"h": 268.3
},
"luminance": 0.05541
}Semantic roles & 50–950 ramp
primary
#22379E
secondary
#C1B05B
accent
#CB40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81