#22479E#22479E
#22479E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.148 H 263.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #22479E |
|---|---|
| RGB | rgb(34, 71, 158) |
| HSL | hsl(222, 65%, 38%) |
| HSV | hsv(222, 78%, 62%) |
| CMYK | cmyk(78.5%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(32.51, 19.49, -51.07) |
| CIE-LCH | lch(32.51, 54.66, 290.89°) |
| OKLab | oklab(42.51% -0.0159 -0.1472) |
| OKLCH | oklch(42.51% 0.148 263.8) |
| XYZ | xyz(9.0823, 7.3141, 33.2742) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.11
Cobalt (survey)
#1E488F
ΔE00 2.60
Sapphire
#0F52BA
ΔE00 4.95
Darkish Blue
#014182
ΔE00 5.15
Dusk Blue
#26538D
ΔE00 5.33
Sapphire (survey)
#2138AB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22479E #9E7922
analogous
#22859E #22479E #3B229E
triadic
#22479E #9E2247 #479E22
tetradic
#22479E #9E2285 #9E7922 #229E3B
square
#22479E #9E2285 #9E7922 #229E3B
split-complementary
#22479E #9E3B22 #859E22
monochromatic
#0C1A39 #17306C #22479E #2D5ED0 #5E84DC
Accessibility & contrast
On white
8.53
#22479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#22479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22479E
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22479E | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #22479e; /* rgb */ color: rgb(34, 71, 158); /* oklch */ color: oklch(42.5% 0.148 263.8);
Tailwind
colors: {
custom: {
50: '#7179bb',
500: '#22479e',
950: '#000000',
},
}SCSS
$custom: #22479e; $custom-light: #7179bb; $custom-dark: #000000;
JSON
{
"hex": "#22479e",
"rgb": {
"r": 34,
"g": 71,
"b": 158
},
"hsl": {
"h": 222.097,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.42513,
"c": 0.14811,
"h": 263.8
},
"luminance": 0.07315
}Semantic roles & 50–950 ramp
primary
#22479E
secondary
#C1A35B
accent
#B640E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81