#22318B#22318B
#22318B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.150 H 269.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #22318B |
|---|---|
| RGB | rgb(34, 49, 139) |
| HSL | hsl(231, 61%, 34%) |
| HSV | hsv(231, 76%, 55%) |
| CMYK | cmyk(75.5%, 64.7%, 0%, 45.5%) |
| CIE-LAB | lab(24.95, 27.07, -51.75) |
| CIE-LCH | lch(24.95, 58.40, 297.62°) |
| OKLab | oklab(36.37% -0.0005 -0.1495) |
| OKLCH | oklch(36.37% 0.15 269.8) |
| XYZ | xyz(6.4166, 4.4001, 24.9322) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Blueberry
#464196
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.34
Royal
#0C1793
ΔE00 7.01
Midnight Blue
#191970
ΔE00 7.28
Marine
#042E60
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22318B #8B7C22
analogous
#22668B #22318B #48228B
triadic
#22318B #8B2231 #318B22
tetradic
#22318B #8B2266 #8B7C22 #228B48
square
#22318B #8B2266 #8B7C22 #228B48
split-complementary
#22318B #8B4822 #668B22
monochromatic
#0A0E29 #16205A #22318B #2E42BC #5365D5
Accessibility & contrast
On white
11.17
#22318B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#22318B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22318B
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22318B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22318B | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 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: #22318b; /* rgb */ color: rgb(34, 49, 139); /* oklch */ color: oklch(36.4% 0.150 269.8);
Tailwind
colors: {
custom: {
50: '#6e69ae',
500: '#22318b',
950: '#000000',
},
}SCSS
$custom: #22318b; $custom-light: #6e69ae; $custom-dark: #000000;
JSON
{
"hex": "#22318b",
"rgb": {
"r": 34,
"g": 49,
"b": 139
},
"hsl": {
"h": 231.429,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.36371,
"c": 0.14955,
"h": 269.8
},
"luminance": 0.04401
}Semantic roles & 50–950 ramp
primary
#22318B
secondary
#B8AA50
accent
#CD44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F