#22339E#22339E
#22339E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.173 H 269.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #22339E |
|---|---|
| RGB | rgb(34, 51, 158) |
| HSL | hsl(232, 65%, 38%) |
| HSV | hsv(232, 78%, 62%) |
| CMYK | cmyk(78.5%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(27.23, 32.91, -59.70) |
| CIE-LCH | lch(27.23, 68.17, 298.87°) |
| OKLab | oklab(38.58% -0.0028 -0.1728) |
| OKLCH | oklch(38.58% 0.173 269.1) |
| XYZ | xyz(8.0129, 5.1755, 32.9178) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.19
Blueberry
#464196
ΔE00 5.92
Blue Blue
#2242C7
ΔE00 6.75
Darkslateblue
#483D8B
ΔE00 6.78
Royal
#0C1793
ΔE00 7.02
Cobalt
#0047AB
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22339E #9E8D22
analogous
#22719E #22339E #4F229E
triadic
#22339E #9E2233 #339E22
tetradic
#22339E #9E2271 #9E8D22 #229E4F
square
#22339E #9E2271 #9E8D22 #229E4F
split-complementary
#22339E #9E4F22 #719E22
monochromatic
#0C1239 #17236C #22339E #2D43D0 #5E6FDC
Accessibility & contrast
On white
10.32
#22339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#22339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22339E
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22339E | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #22339e; /* rgb */ color: rgb(34, 51, 158); /* oklch */ color: oklch(38.6% 0.173 269.1);
Tailwind
colors: {
custom: {
50: '#726bbc',
500: '#22339e',
950: '#000000',
},
}SCSS
$custom: #22339e; $custom-light: #726bbc; $custom-dark: #000000;
JSON
{
"hex": "#22339e",
"rgb": {
"r": 34,
"g": 51,
"b": 158
},
"hsl": {
"h": 231.774,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.38583,
"c": 0.17282,
"h": 269.1
},
"luminance": 0.05176
}Semantic roles & 50–950 ramp
primary
#22339E
secondary
#C1B35B
accent
#D140E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81