#22308C#22308C
#22308C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.152 H 270.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #22308C |
|---|---|
| RGB | rgb(34, 48, 140) |
| HSL | hsl(232, 61%, 34%) |
| HSV | hsv(232, 76%, 55%) |
| CMYK | cmyk(75.7%, 65.7%, 0%, 45.1%) |
| CIE-LAB | lab(24.79, 28.13, -52.64) |
| CIE-LCH | lch(24.79, 59.69, 298.11°) |
| OKLab | oklab(36.28% 0.0002 -0.1522) |
| OKLCH | oklch(36.28% 0.152 270.1) |
| XYZ | xyz(6.4486, 4.3468, 25.3050) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.77
Blueberry
#464196
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.44
Royal
#0C1793
ΔE00 6.63
Midnight Blue
#191970
ΔE00 7.07
Marine
#042E60
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22308C #8C7E22
analogous
#22658C #22308C #49228C
triadic
#22308C #8C2230 #308C22
tetradic
#22308C #8C2265 #8C7E22 #228C49
square
#22308C #8C2265 #8C7E22 #228C49
split-complementary
#22308C #8C4922 #658C22
monochromatic
#0A0E2A #161F5B #22308C #2E41BD #5364D5
Accessibility & contrast
On white
11.23
#22308C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#22308C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22308C
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22308C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22308C | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #22308c; /* rgb */ color: rgb(34, 48, 140); /* oklch */ color: oklch(36.3% 0.152 270.1);
Tailwind
colors: {
custom: {
50: '#6e68ae',
500: '#22308c',
950: '#000000',
},
}SCSS
$custom: #22308c; $custom-light: #6e68ae; $custom-dark: #000000;
JSON
{
"hex": "#22308c",
"rgb": {
"r": 34,
"g": 48,
"b": 140
},
"hsl": {
"h": 232.075,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.36277,
"c": 0.15218,
"h": 270.1
},
"luminance": 0.04347
}Semantic roles & 50–950 ramp
primary
#22308C
secondary
#B9AB51
accent
#CF44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F