#22308D#22308D
#22308D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.154 H 270.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #22308D |
|---|---|
| RGB | rgb(34, 48, 141) |
| HSL | hsl(232, 61%, 34%) |
| HSV | hsv(232, 76%, 55%) |
| CMYK | cmyk(75.9%, 66%, 0%, 44.7%) |
| CIE-LAB | lab(24.88, 28.51, -53.11) |
| CIE-LCH | lch(24.88, 60.28, 298.22°) |
| OKLab | oklab(36.37% 0.0001 -0.1535) |
| OKLCH | oklch(36.37% 0.154 270) |
| XYZ | xyz(6.5227, 4.3764, 25.6951) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.63
Blueberry
#464196
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.45
Royal
#0C1793
ΔE00 6.57
Midnight Blue
#191970
ΔE00 7.12
Marine
#042E60
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22308D #8D7F22
analogous
#22668D #22308D #4A228D
triadic
#22308D #8D2230 #308D22
tetradic
#22308D #8D2266 #8D7F22 #228D4A
square
#22308D #8D2266 #8D7F22 #228D4A
split-complementary
#22308D #8D4A22 #668D22
monochromatic
#0A0E2A #161F5C #22308D #2E41BE #5465D6
Accessibility & contrast
On white
11.20
#22308D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#22308D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22308D
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22308D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22308D | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #22308d; /* rgb */ color: rgb(34, 48, 141); /* oklch */ color: oklch(36.4% 0.154 270.0);
Tailwind
colors: {
custom: {
50: '#6e68af',
500: '#22308d',
950: '#000000',
},
}SCSS
$custom: #22308d; $custom-light: #6e68af; $custom-dark: #000000;
JSON
{
"hex": "#22308d",
"rgb": {
"r": 34,
"g": 48,
"b": 141
},
"hsl": {
"h": 232.15,
"s": 61.143,
"l": 34.314
},
"oklch": {
"l": 0.36373,
"c": 0.15355,
"h": 270
},
"luminance": 0.04377
}Semantic roles & 50–950 ramp
primary
#22308D
secondary
#B9AC51
accent
#CF44E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F