#22276F#22276F
#22276F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.123 H 274.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #22276F |
|---|---|
| RGB | rgb(34, 39, 111) |
| HSL | hsl(236, 53%, 28%) |
| HSV | hsv(236, 69%, 44%) |
| CMYK | cmyk(69.4%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(19.80, 23.23, -42.44) |
| CIE-LCH | lch(19.80, 48.38, 298.69°) |
| OKLab | oklab(31.79% 0.0086 -0.1223) |
| OKLCH | oklch(31.79% 0.123 274) |
| XYZ | xyz(4.2535, 2.9384, 15.3789) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.22
Marine
#042E60
ΔE00 6.89
Royal
#0C1793
ΔE00 7.64
Darkblue (survey)
#030764
ΔE00 8.21
Darkslateblue
#483D8B
ΔE00 8.30
Navy Blue
#1B2A4A
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22276F #6F6A22
analogous
#224D6F #22276F #43226F
triadic
#22276F #6F2227 #276F22
tetradic
#22276F #6F224D #6F6A22 #226F43
square
#22276F #6F224D #6F6A22 #226F43
split-complementary
#22276F #6F4322 #4D6F22
monochromatic
#070817 #141740 #22276F #30379E #454EC6
Accessibility & contrast
On white
13.23
#22276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#22276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22276F
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22276F | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #22276f; /* rgb */ color: rgb(34, 39, 111); /* oklch */ color: oklch(31.8% 0.123 274.0);
Tailwind
colors: {
custom: {
50: '#686199',
500: '#22276f',
950: '#000000',
},
}SCSS
$custom: #22276f; $custom-light: #686199; $custom-dark: #000000;
JSON
{
"hex": "#22276f",
"rgb": {
"r": 34,
"g": 39,
"b": 111
},
"hsl": {
"h": 236.104,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.31792,
"c": 0.12264,
"h": 274
},
"luminance": 0.02939
}Semantic roles & 50–950 ramp
primary
#22276F
secondary
#A29D4A
accent
#D34BDD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E