#222379#222379
#222379 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.142 H 274.4°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #222379 |
|---|---|
| RGB | rgb(34, 35, 121) |
| HSL | hsl(239, 56%, 30%) |
| HSV | hsv(239, 72%, 47%) |
| CMYK | cmyk(71.9%, 71.1%, 0%, 52.5%) |
| CIE-LAB | lab(19.73, 29.66, -48.97) |
| CIE-LCH | lch(19.73, 57.25, 301.20°) |
| OKLab | oklab(32.04% 0.0109 -0.1415) |
| OKLCH | oklch(32.04% 0.142 274.4) |
| XYZ | xyz(4.7108, 2.9222, 18.4012) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.79
Royal
#0C1793
ΔE00 5.24
Dark Royal Blue
#02066F
ΔE00 6.71
Darkblue (survey)
#030764
ΔE00 7.06
Deep Blue
#040273
ΔE00 7.24
Navy
#000080
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#222379 #797822
analogous
#224F79 #222379 #4C2279
triadic
#222379 #792223 #237922
tetradic
#222379 #79224F #797822 #22794C
square
#222379 #79224F #797822 #22794C
split-complementary
#222379 #794C22 #4F7922
monochromatic
#070719 #151549 #222379 #2F31A9 #494BCC
Accessibility & contrast
On white
13.25
#222379 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#222379 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #222379
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##222379 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##222379 | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #222379; /* rgb */ color: rgb(34, 35, 121); /* oklch */ color: oklch(32.0% 0.142 274.4);
Tailwind
colors: {
custom: {
50: '#6b5ea1',
500: '#222379',
950: '#000000',
},
}SCSS
$custom: #222379; $custom-light: #6b5ea1; $custom-dark: #000000;
JSON
{
"hex": "#222379",
"rgb": {
"r": 34,
"g": 35,
"b": 121
},
"hsl": {
"h": 239.31,
"s": 56.129,
"l": 30.392
},
"oklch": {
"l": 0.32035,
"c": 0.14192,
"h": 274.4
},
"luminance": 0.02923
}Semantic roles & 50–950 ramp
primary
#222379
secondary
#ACAB4B
accent
#DE48DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F