#22197C#22197C
#22197C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.157 H 276.0°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #22197C |
|---|---|
| RGB | rgb(34, 25, 124) |
| HSL | hsl(245, 66%, 29%) |
| HSV | hsv(245, 80%, 49%) |
| CMYK | cmyk(72.6%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(17.87, 36.79, -53.95) |
| CIE-LCH | lch(17.87, 65.29, 304.29°) |
| OKLab | oklab(30.81% 0.0164 -0.1559) |
| OKLCH | oklch(30.81% 0.157 276) |
| XYZ | xyz(4.6442, 2.4901, 19.3008) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.24
Royal
#0C1793
ΔE00 3.63
Dark Royal Blue
#02066F
ΔE00 4.49
Navy
#000080
ΔE00 4.75
Deep Blue
#040273
ΔE00 4.76
Indigo (survey)
#380282
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22197C #737C19
analogous
#19417C #22197C #54197C
triadic
#22197C #7C2219 #197C22
tetradic
#22197C #7C1941 #737C19 #197C54
square
#22197C #7C1941 #737C19 #197C54
split-complementary
#22197C #7C5419 #417C19
monochromatic
#070519 #140F49 #22197C #3023AF #4738D7
Accessibility & contrast
On white
14.02
#22197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#22197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22197C
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22197C | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #22197c; /* rgb */ color: rgb(34, 25, 124); /* oklch */ color: oklch(30.8% 0.157 276.0);
Tailwind
colors: {
custom: {
50: '#6c58a3',
500: '#22197c',
950: '#000000',
},
}SCSS
$custom: #22197c; $custom-light: #6c58a3; $custom-dark: #000000;
JSON
{
"hex": "#22197c",
"rgb": {
"r": 34,
"g": 25,
"b": 124
},
"hsl": {
"h": 245.455,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.3081,
"c": 0.15681,
"h": 276
},
"luminance": 0.02491
}Semantic roles & 50–950 ramp
primary
#22197C
secondary
#A6B040
accent
#E93EDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F