#22319E#22319E
#22319E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.175 H 269.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #22319E |
|---|---|
| RGB | rgb(34, 49, 158) |
| HSL | hsl(233, 65%, 38%) |
| HSV | hsv(233, 78%, 62%) |
| CMYK | cmyk(78.5%, 69%, 0%, 38%) |
| CIE-LAB | lab(26.75, 34.20, -60.49) |
| CIE-LCH | lch(26.75, 69.49, 299.48°) |
| OKLab | oklab(38.23% -0.0017 -0.1751) |
| OKLCH | oklch(38.23% 0.175 269.4) |
| XYZ | xyz(7.9274, 5.0044, 32.8893) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.56
Blueberry
#464196
ΔE00 6.23
Royal
#0C1793
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 6.90
Darkslateblue
#483D8B
ΔE00 6.95
Blue Blue
#2242C7
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22319E #9E8F22
analogous
#226F9E #22319E #51229E
triadic
#22319E #9E2231 #319E22
tetradic
#22319E #9E226F #9E8F22 #229E51
square
#22319E #9E226F #9E8F22 #229E51
split-complementary
#22319E #9E5122 #6F9E22
monochromatic
#0C1239 #17216C #22319E #2D41D0 #5E6DDC
Accessibility & contrast
On white
10.49
#22319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#22319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22319E
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22319E | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #22319e; /* rgb */ color: rgb(34, 49, 158); /* oklch */ color: oklch(38.2% 0.175 269.4);
Tailwind
colors: {
custom: {
50: '#7369bc',
500: '#22319e',
950: '#000000',
},
}SCSS
$custom: #22319e; $custom-light: #7369bc; $custom-dark: #000000;
JSON
{
"hex": "#22319e",
"rgb": {
"r": 34,
"g": 49,
"b": 158
},
"hsl": {
"h": 232.742,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.38232,
"c": 0.17513,
"h": 269.4
},
"luminance": 0.05005
}Semantic roles & 50–950 ramp
primary
#22319E
secondary
#C1B55B
accent
#D340E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81