#22197B#22197B
#22197B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.156 H 276.1°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #22197B |
|---|---|
| RGB | rgb(34, 25, 123) |
| HSL | hsl(246, 66%, 29%) |
| HSV | hsv(246, 80%, 48%) |
| CMYK | cmyk(72.4%, 79.7%, 0%, 51.8%) |
| CIE-LAB | lab(17.76, 36.45, -53.50) |
| CIE-LCH | lch(17.76, 64.73, 304.27°) |
| OKLab | oklab(30.7% 0.0167 -0.1546) |
| OKLCH | oklch(30.7% 0.156 276.1) |
| XYZ | xyz(4.5813, 2.4650, 18.9694) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.11
Royal
#0C1793
ΔE00 3.78
Dark Royal Blue
#02066F
ΔE00 4.45
Deep Blue
#040273
ΔE00 4.75
Navy
#000080
ΔE00 4.80
Indigo (survey)
#380282
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22197B #727B19
analogous
#19417B #22197B #53197B
triadic
#22197B #7B2219 #197B22
tetradic
#22197B #7B1941 #727B19 #197B53
square
#22197B #7B1941 #727B19 #197B53
split-complementary
#22197B #7B5319 #417B19
monochromatic
#070519 #140F48 #22197B #3023AE #4638D7
Accessibility & contrast
On white
14.07
#22197B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#22197B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22197B
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22197B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22197B | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #22197b; /* rgb */ color: rgb(34, 25, 123); /* oklch */ color: oklch(30.7% 0.156 276.1);
Tailwind
colors: {
custom: {
50: '#6c58a2',
500: '#22197b',
950: '#000000',
},
}SCSS
$custom: #22197b; $custom-light: #6c58a2; $custom-dark: #000000;
JSON
{
"hex": "#22197b",
"rgb": {
"r": 34,
"g": 25,
"b": 123
},
"hsl": {
"h": 245.51,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.30696,
"c": 0.15553,
"h": 276.1
},
"luminance": 0.02465
}Semantic roles & 50–950 ramp
primary
#22197B
secondary
#A5AF40
accent
#E93FD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F