#22379C#22379C
#22379C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.165 H 268.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #22379C |
|---|---|
| RGB | rgb(34, 55, 156) |
| HSL | hsl(230, 64%, 37%) |
| HSV | hsv(230, 78%, 61%) |
| CMYK | cmyk(78.2%, 64.7%, 0%, 38.8%) |
| CIE-LAB | lab(28.04, 29.52, -57.15) |
| CIE-LCH | lch(28.04, 64.33, 297.32°) |
| OKLab | oklab(39.12% -0.005 -0.1653) |
| OKLCH | oklch(39.12% 0.165 268.3) |
| XYZ | xyz(8.0245, 5.4719, 32.0793) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.14
Blueberry
#464196
ΔE00 5.41
Cobalt
#0047AB
ΔE00 6.11
Blue Blue
#2242C7
ΔE00 6.44
Darkslateblue
#483D8B
ΔE00 6.50
Cobalt (survey)
#1E488F
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22379C #9C8722
analogous
#22749C #22379C #4A229C
triadic
#22379C #9C2237 #379C22
tetradic
#22379C #9C2274 #9C8722 #229C4A
square
#22379C #9C2274 #9C8722 #229C4A
split-complementary
#22379C #9C4A22 #749C22
monochromatic
#0C1438 #17256A #22379C #2D49CE #5D73DC
Accessibility & contrast
On white
10.03
#22379C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#22379C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22379C
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22379C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22379C | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #22379c; /* rgb */ color: rgb(34, 55, 156); /* oklch */ color: oklch(39.1% 0.165 268.3);
Tailwind
colors: {
custom: {
50: '#726dba',
500: '#22379c',
950: '#000000',
},
}SCSS
$custom: #22379c; $custom-light: #726dba; $custom-dark: #000000;
JSON
{
"hex": "#22379c",
"rgb": {
"r": 34,
"g": 55,
"b": 156
},
"hsl": {
"h": 229.672,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.39119,
"c": 0.1654,
"h": 268.3
},
"luminance": 0.05473
}Semantic roles & 50–950 ramp
primary
#22379C
secondary
#C0AF5A
accent
#CB41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81