#22318F#22318F
#22318F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.155 H 269.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #22318F |
|---|---|
| RGB | rgb(34, 49, 143) |
| HSL | hsl(232, 62%, 35%) |
| HSV | hsv(232, 76%, 56%) |
| CMYK | cmyk(76.2%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(25.32, 28.59, -53.63) |
| CIE-LCH | lch(25.32, 60.78, 298.06°) |
| OKLab | oklab(36.75% -0.0006 -0.1551) |
| OKLCH | oklch(36.75% 0.155 269.8) |
| XYZ | xyz(6.7142, 4.5192, 26.4997) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Blueberry
#464196
ΔE00 6.16
Darkslateblue
#483D8B
ΔE00 6.39
Royal
#0C1793
ΔE00 6.77
Midnight Blue
#191970
ΔE00 7.50
Cobalt
#0047AB
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22318F #8F8022
analogous
#22688F #22318F #4A228F
triadic
#22318F #8F2231 #318F22
tetradic
#22318F #8F2268 #8F8022 #228F4A
square
#22318F #8F2268 #8F8022 #228F4A
split-complementary
#22318F #8F4A22 #688F22
monochromatic
#0A0F2C #16205E #22318F #2E42C0 #5567D7
Accessibility & contrast
On white
11.03
#22318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#22318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22318F
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22318F | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #22318f; /* rgb */ color: rgb(34, 49, 143); /* oklch */ color: oklch(36.8% 0.155 269.8);
Tailwind
colors: {
custom: {
50: '#6f69b1',
500: '#22318f',
950: '#000000',
},
}SCSS
$custom: #22318f; $custom-light: #6f69b1; $custom-dark: #000000;
JSON
{
"hex": "#22318f",
"rgb": {
"r": 34,
"g": 49,
"b": 143
},
"hsl": {
"h": 231.743,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.36753,
"c": 0.15506,
"h": 269.8
},
"luminance": 0.0452
}Semantic roles & 50–950 ramp
primary
#22318F
secondary
#BAAC52
accent
#CE43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80