#22296F#22296F
#22296F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.120 H 273.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #22296F |
|---|---|
| RGB | rgb(34, 41, 111) |
| HSL | hsl(235, 53%, 28%) |
| HSV | hsv(235, 69%, 44%) |
| CMYK | cmyk(69.4%, 63.1%, 0%, 56.5%) |
| CIE-LAB | lab(20.34, 21.83, -41.56) |
| CIE-LCH | lch(20.34, 46.95, 297.71°) |
| OKLab | oklab(32.19% 0.0068 -0.1197) |
| OKLCH | oklch(32.19% 0.12 273.2) |
| XYZ | xyz(4.3209, 3.0733, 15.4013) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.89
Marine
#042E60
ΔE00 6.35
Navy Blue
#1B2A4A
ΔE00 7.95
Darkslateblue
#483D8B
ΔE00 8.07
Royal
#0C1793
ΔE00 8.10
Marine Blue
#01386A
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22296F #6F6822
analogous
#224F6F #22296F #41226F
triadic
#22296F #6F2229 #296F22
tetradic
#22296F #6F224F #6F6822 #226F41
square
#22296F #6F224F #6F6822 #226F41
split-complementary
#22296F #6F4122 #4F6F22
monochromatic
#070917 #141840 #22296F #303A9E #4551C6
Accessibility & contrast
On white
13.00
#22296F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#22296F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22296F
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22296F | 1.00 | 13.00 | 1.61 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #22296f; /* rgb */ color: rgb(34, 41, 111); /* oklch */ color: oklch(32.2% 0.120 273.2);
Tailwind
colors: {
custom: {
50: '#686299',
500: '#22296f',
950: '#000000',
},
}SCSS
$custom: #22296f; $custom-light: #686299; $custom-dark: #000000;
JSON
{
"hex": "#22296f",
"rgb": {
"r": 34,
"g": 41,
"b": 111
},
"hsl": {
"h": 234.545,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.3219,
"c": 0.11993,
"h": 273.2
},
"luminance": 0.03074
}Semantic roles & 50–950 ramp
primary
#22296F
secondary
#A29A4A
accent
#CF4BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E