#22399B#22399B
#22399B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.162 H 267.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #22399B |
|---|---|
| RGB | rgb(34, 57, 155) |
| HSL | hsl(229, 64%, 37%) |
| HSV | hsv(229, 78%, 61%) |
| CMYK | cmyk(78.1%, 63.2%, 0%, 39.2%) |
| CIE-LAB | lab(28.46, 27.80, -55.85) |
| CIE-LCH | lch(28.46, 62.39, 296.47°) |
| OKLab | oklab(39.41% -0.0062 -0.1615) |
| OKLCH | oklch(39.41% 0.162 267.8) |
| XYZ | xyz(8.0372, 5.6320, 31.6675) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.43
Blueberry
#464196
ΔE00 5.27
Cobalt
#0047AB
ΔE00 5.54
Cobalt (survey)
#1E488F
ΔE00 6.35
Blue Blue
#2242C7
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22399B #9B8422
analogous
#22769B #22399B #48229B
triadic
#22399B #9B2239 #399B22
tetradic
#22399B #9B2276 #9B8422 #229B48
square
#22399B #9B2276 #9B8422 #229B48
split-complementary
#22399B #9B4822 #769B22
monochromatic
#0C1437 #172769 #22399B #2D4BCD #5C74DB
Accessibility & contrast
On white
9.87
#22399B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#22399B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22399B
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22399B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22399B | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #22399b; /* rgb */ color: rgb(34, 57, 155); /* oklch */ color: oklch(39.4% 0.162 267.8);
Tailwind
colors: {
custom: {
50: '#716fb9',
500: '#22399b',
950: '#000000',
},
}SCSS
$custom: #22399b; $custom-light: #716fb9; $custom-dark: #000000;
JSON
{
"hex": "#22399b",
"rgb": {
"r": 34,
"g": 57,
"b": 155
},
"hsl": {
"h": 228.595,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.39406,
"c": 0.1616,
"h": 267.8
},
"luminance": 0.05633
}Semantic roles & 50–950 ramp
primary
#22399B
secondary
#C0AC59
accent
#C741E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81