#22308B#22308B
#22308B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.151 H 270.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #22308B |
|---|---|
| RGB | rgb(34, 48, 139) |
| HSL | hsl(232, 61%, 34%) |
| HSV | hsv(232, 76%, 55%) |
| CMYK | cmyk(75.5%, 65.5%, 0%, 45.5%) |
| CIE-LAB | lab(24.69, 27.75, -52.17) |
| CIE-LCH | lch(24.69, 59.09, 298.00°) |
| OKLab | oklab(36.18% 0.0002 -0.1508) |
| OKLCH | oklch(36.18% 0.151 270.1) |
| XYZ | xyz(6.3752, 4.3174, 24.9184) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.90
Blueberry
#464196
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 6.43
Royal
#0C1793
ΔE00 6.70
Midnight Blue
#191970
ΔE00 7.01
Marine
#042E60
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22308B #8B7D22
analogous
#22658B #22308B #49228B
triadic
#22308B #8B2230 #308B22
tetradic
#22308B #8B2265 #8B7D22 #228B49
square
#22308B #8B2265 #8B7D22 #228B49
split-complementary
#22308B #8B4922 #658B22
monochromatic
#0A0E29 #161F5A #22308B #2E41BC #5364D5
Accessibility & contrast
On white
11.27
#22308B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#22308B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22308B
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22308B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22308B | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #22308b; /* rgb */ color: rgb(34, 48, 139); /* oklch */ color: oklch(36.2% 0.151 270.1);
Tailwind
colors: {
custom: {
50: '#6e68ae',
500: '#22308b',
950: '#000000',
},
}SCSS
$custom: #22308b; $custom-light: #6e68ae; $custom-dark: #000000;
JSON
{
"hex": "#22308b",
"rgb": {
"r": 34,
"g": 48,
"b": 139
},
"hsl": {
"h": 232,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.36181,
"c": 0.1508,
"h": 270.1
},
"luminance": 0.04318
}Semantic roles & 50–950 ramp
primary
#22308B
secondary
#B8AB50
accent
#CF44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F