#22318C#22318C
#22318C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.151 H 269.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #22318C |
|---|---|
| RGB | rgb(34, 49, 140) |
| HSL | hsl(232, 61%, 34%) |
| HSV | hsv(232, 76%, 55%) |
| CMYK | cmyk(75.7%, 65%, 0%, 45.1%) |
| CIE-LAB | lab(25.04, 27.45, -52.22) |
| CIE-LCH | lch(25.04, 59.00, 297.73°) |
| OKLab | oklab(36.47% -0.0005 -0.1509) |
| OKLCH | oklch(36.47% 0.151 269.8) |
| XYZ | xyz(6.4900, 4.4295, 25.3188) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.68
Blueberry
#464196
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 6.35
Royal
#0C1793
ΔE00 6.94
Midnight Blue
#191970
ΔE00 7.33
Marine
#042E60
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22318C #8C7D22
analogous
#22668C #22318C #48228C
triadic
#22318C #8C2231 #318C22
tetradic
#22318C #8C2266 #8C7D22 #228C48
square
#22318C #8C2266 #8C7D22 #228C48
split-complementary
#22318C #8C4822 #668C22
monochromatic
#0A0F2A #16205B #22318C #2E42BD #5366D5
Accessibility & contrast
On white
11.13
#22318C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#22318C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22318C
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22318C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22318C | 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)
#00408F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #22318c; /* rgb */ color: rgb(34, 49, 140); /* oklch */ color: oklch(36.5% 0.151 269.8);
Tailwind
colors: {
custom: {
50: '#6e69ae',
500: '#22318c',
950: '#000000',
},
}SCSS
$custom: #22318c; $custom-light: #6e69ae; $custom-dark: #000000;
JSON
{
"hex": "#22318c",
"rgb": {
"r": 34,
"g": 49,
"b": 140
},
"hsl": {
"h": 231.509,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.36466,
"c": 0.15094,
"h": 269.8
},
"luminance": 0.0443
}Semantic roles & 50–950 ramp
primary
#22318C
secondary
#B9AA51
accent
#CD44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F