#22399E#22399E
#22399E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.166 H 267.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #22399E |
|---|---|
| RGB | rgb(34, 57, 158) |
| HSL | hsl(229, 65%, 38%) |
| HSV | hsv(229, 78%, 62%) |
| CMYK | cmyk(78.5%, 63.9%, 0%, 38%) |
| CIE-LAB | lab(28.73, 28.95, -57.23) |
| CIE-LCH | lch(28.73, 64.14, 296.83°) |
| OKLab | oklab(39.68% -0.0063 -0.1655) |
| OKLCH | oklch(39.68% 0.166 267.8) |
| XYZ | xyz(8.2922, 5.7340, 33.0109) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.97
Blueberry
#464196
ΔE00 5.30
Cobalt
#0047AB
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 5.99
Cobalt (survey)
#1E488F
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22399E #9E8722
analogous
#22779E #22399E #49229E
triadic
#22399E #9E2239 #399E22
tetradic
#22399E #9E2277 #9E8722 #229E49
square
#22399E #9E2277 #9E8722 #229E49
split-complementary
#22399E #9E4922 #779E22
monochromatic
#0C1539 #17276C #22399E #2D4BD0 #5E75DC
Accessibility & contrast
On white
9.78
#22399E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#22399E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22399E
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22399E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22399E | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #22399e; /* rgb */ color: rgb(34, 57, 158); /* oklch */ color: oklch(39.7% 0.166 267.8);
Tailwind
colors: {
custom: {
50: '#726fbc',
500: '#22399e',
950: '#000000',
},
}SCSS
$custom: #22399e; $custom-light: #726fbc; $custom-dark: #000000;
JSON
{
"hex": "#22399e",
"rgb": {
"r": 34,
"g": 57,
"b": 158
},
"hsl": {
"h": 228.871,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.39685,
"c": 0.16566,
"h": 267.8
},
"luminance": 0.05735
}Semantic roles & 50–950 ramp
primary
#22399E
secondary
#C1AE5B
accent
#C940E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81