#22308E#22308E
#22308E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.155 H 270.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #22308E |
|---|---|
| RGB | rgb(34, 48, 142) |
| HSL | hsl(232, 61%, 35%) |
| HSV | hsv(232, 76%, 56%) |
| CMYK | cmyk(76.1%, 66.2%, 0%, 44.3%) |
| CIE-LAB | lab(24.97, 28.89, -53.58) |
| CIE-LCH | lch(24.97, 60.87, 298.33°) |
| OKLab | oklab(36.47% 0.0001 -0.1549) |
| OKLCH | oklch(36.47% 0.155 270) |
| XYZ | xyz(6.5975, 4.4063, 26.0887) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.50
Blueberry
#464196
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 6.46
Royal
#0C1793
ΔE00 6.51
Midnight Blue
#191970
ΔE00 7.19
Indigo Blue
#3A18B1
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22308E #8E8022
analogous
#22668E #22308E #4A228E
triadic
#22308E #8E2230 #308E22
tetradic
#22308E #8E2266 #8E8022 #228E4A
square
#22308E #8E2266 #8E8022 #228E4A
split-complementary
#22308E #8E4A22 #668E22
monochromatic
#0A0F2B #161F5D #22308E #2E41BF #5465D6
Accessibility & contrast
On white
11.16
#22308E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#22308E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22308E
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22308E | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #22308e; /* rgb */ color: rgb(34, 48, 142); /* oklch */ color: oklch(36.5% 0.155 270.0);
Tailwind
colors: {
custom: {
50: '#6f68b0',
500: '#22308e',
950: '#000000',
},
}SCSS
$custom: #22308e; $custom-light: #6f68b0; $custom-dark: #000000;
JSON
{
"hex": "#22308e",
"rgb": {
"r": 34,
"g": 48,
"b": 142
},
"hsl": {
"h": 232.222,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.3647,
"c": 0.15492,
"h": 270
},
"luminance": 0.04407
}Semantic roles & 50–950 ramp
primary
#22308E
secondary
#BAAC52
accent
#D043E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80