#22318E#22318E
#22318E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.154 H 269.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #22318E |
|---|---|
| RGB | rgb(34, 49, 142) |
| HSL | hsl(232, 61%, 35%) |
| HSV | hsv(232, 76%, 56%) |
| CMYK | cmyk(76.1%, 65.5%, 0%, 44.3%) |
| CIE-LAB | lab(25.23, 28.21, -53.16) |
| CIE-LCH | lch(25.23, 60.19, 297.96°) |
| OKLab | oklab(36.66% -0.0006 -0.1537) |
| OKLCH | oklch(36.66% 0.154 269.8) |
| XYZ | xyz(6.6388, 4.4890, 26.1025) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.41
Blueberry
#464196
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.37
Royal
#0C1793
ΔE00 6.82
Midnight Blue
#191970
ΔE00 7.44
Cobalt
#0047AB
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22318E #8E7F22
analogous
#22678E #22318E #49228E
triadic
#22318E #8E2231 #318E22
tetradic
#22318E #8E2267 #8E7F22 #228E49
square
#22318E #8E2267 #8E7F22 #228E49
split-complementary
#22318E #8E4922 #678E22
monochromatic
#0A0F2B #16205D #22318E #2E42BF #5466D6
Accessibility & contrast
On white
11.06
#22318E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#22318E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22318E
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22318E | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #22318e; /* rgb */ color: rgb(34, 49, 142); /* oklch */ color: oklch(36.7% 0.154 269.8);
Tailwind
colors: {
custom: {
50: '#6f69b0',
500: '#22318e',
950: '#000000',
},
}SCSS
$custom: #22318e; $custom-light: #6f69b0; $custom-dark: #000000;
JSON
{
"hex": "#22318e",
"rgb": {
"r": 34,
"g": 49,
"b": 142
},
"hsl": {
"h": 231.667,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.36657,
"c": 0.15369,
"h": 269.8
},
"luminance": 0.0449
}Semantic roles & 50–950 ramp
primary
#22318E
secondary
#BAAB52
accent
#CE43E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80