#22399F#22399F
#22399F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.167 H 267.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #22399F |
|---|---|
| RGB | rgb(34, 57, 159) |
| HSL | hsl(229, 65%, 38%) |
| HSV | hsv(229, 79%, 62%) |
| CMYK | cmyk(78.6%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.82, 29.33, -57.69) |
| CIE-LCH | lch(28.82, 64.72, 296.95°) |
| OKLab | oklab(39.78% -0.0063 -0.1669) |
| OKLCH | oklch(39.78% 0.167 267.8) |
| XYZ | xyz(8.3786, 5.7686, 33.4660) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.82
Blueberry
#464196
ΔE00 5.32
Cobalt
#0047AB
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 5.86
Darkslateblue
#483D8B
ΔE00 6.64
Cobalt (survey)
#1E488F
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22399F #9F8822
analogous
#22779F #22399F #49229F
triadic
#22399F #9F2239 #399F22
tetradic
#22399F #9F2277 #9F8822 #229F49
square
#22399F #9F2277 #9F8822 #229F49
split-complementary
#22399F #9F4922 #779F22
monochromatic
#0C153A #17276D #22399F #2D4BD1 #5F76DD
Accessibility & contrast
On white
9.75
#22399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#22399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22399F
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22399F | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #22399f; /* rgb */ color: rgb(34, 57, 159); /* oklch */ color: oklch(39.8% 0.167 267.8);
Tailwind
colors: {
custom: {
50: '#726fbc',
500: '#22399f',
950: '#000000',
},
}SCSS
$custom: #22399f; $custom-light: #726fbc; $custom-dark: #000000;
JSON
{
"hex": "#22399f",
"rgb": {
"r": 34,
"g": 57,
"b": 159
},
"hsl": {
"h": 228.96,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.39779,
"c": 0.16701,
"h": 267.8
},
"luminance": 0.0577
}Semantic roles & 50–950 ramp
primary
#22399F
secondary
#C1AF5B
accent
#C940E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81