#22308F#22308F
#22308F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.156 H 270.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #22308F |
|---|---|
| RGB | rgb(34, 48, 143) |
| HSL | hsl(232, 62%, 35%) |
| HSV | hsv(232, 76%, 56%) |
| CMYK | cmyk(76.2%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(25.06, 29.26, -54.05) |
| CIE-LCH | lch(25.06, 61.46, 298.43°) |
| OKLab | oklab(36.57% 0 -0.1563) |
| OKLCH | oklch(36.57% 0.156 270) |
| XYZ | xyz(6.6729, 4.4364, 26.4859) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.37
Blueberry
#464196
ΔE00 6.32
Royal
#0C1793
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 6.48
Midnight Blue
#191970
ΔE00 7.25
Indigo Blue
#3A18B1
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22308F #8F8122
analogous
#22668F #22308F #4B228F
triadic
#22308F #8F2230 #308F22
tetradic
#22308F #8F2266 #8F8122 #228F4B
square
#22308F #8F2266 #8F8122 #228F4B
split-complementary
#22308F #8F4B22 #668F22
monochromatic
#0A0F2C #161F5E #22308F #2E41C0 #5566D7
Accessibility & contrast
On white
11.13
#22308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#22308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22308F
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22308F | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #22308f; /* rgb */ color: rgb(34, 48, 143); /* oklch */ color: oklch(36.6% 0.156 270.0);
Tailwind
colors: {
custom: {
50: '#6f68b1',
500: '#22308f',
950: '#000000',
},
}SCSS
$custom: #22308f; $custom-light: #6f68b1; $custom-dark: #000000;
JSON
{
"hex": "#22308f",
"rgb": {
"r": 34,
"g": 48,
"b": 143
},
"hsl": {
"h": 232.294,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.36567,
"c": 0.15629,
"h": 270
},
"luminance": 0.04437
}Semantic roles & 50–950 ramp
primary
#22308F
secondary
#BAAD52
accent
#D043E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80