#22339C#22339C
#22339C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.170 H 269.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #22339C |
|---|---|
| RGB | rgb(34, 51, 156) |
| HSL | hsl(232, 64%, 37%) |
| HSV | hsv(232, 78%, 61%) |
| CMYK | cmyk(78.2%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(27.04, 32.16, -58.79) |
| CIE-LCH | lch(27.04, 67.02, 298.68°) |
| OKLab | oklab(38.39% -0.0026 -0.1702) |
| OKLCH | oklch(38.39% 0.17 269.1) |
| XYZ | xyz(7.8422, 5.1072, 32.0185) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.41
Blueberry
#464196
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 6.68
Blue Blue
#2242C7
ΔE00 6.97
Royal
#0C1793
ΔE00 7.02
Cobalt
#0047AB
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22339C #9C8B22
analogous
#22709C #22339C #4E229C
triadic
#22339C #9C2233 #339C22
tetradic
#22339C #9C2270 #9C8B22 #229C4E
square
#22339C #9C2270 #9C8B22 #229C4E
split-complementary
#22339C #9C4E22 #709C22
monochromatic
#0C1238 #17236A #22339C #2D43CE #5D6EDC
Accessibility & contrast
On white
10.39
#22339C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#22339C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22339C
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22339C | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #22339c; /* rgb */ color: rgb(34, 51, 156); /* oklch */ color: oklch(38.4% 0.170 269.1);
Tailwind
colors: {
custom: {
50: '#726aba',
500: '#22339c',
950: '#000000',
},
}SCSS
$custom: #22339c; $custom-light: #726aba; $custom-dark: #000000;
JSON
{
"hex": "#22339c",
"rgb": {
"r": 34,
"g": 51,
"b": 156
},
"hsl": {
"h": 231.639,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.38385,
"c": 0.17018,
"h": 269.1
},
"luminance": 0.05108
}Semantic roles & 50–950 ramp
primary
#22339C
secondary
#C0B25A
accent
#D041E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81