#22479F#22479F
#22479F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.149 H 263.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #22479F |
|---|---|
| RGB | rgb(34, 71, 159) |
| HSL | hsl(222, 65%, 38%) |
| HSV | hsv(222, 79%, 62%) |
| CMYK | cmyk(78.6%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(32.59, 19.88, -51.55) |
| CIE-LCH | lch(32.59, 55.25, 291.09°) |
| OKLab | oklab(42.59% -0.0158 -0.1487) |
| OKLCH | oklch(42.59% 0.15 263.9) |
| XYZ | xyz(9.1687, 7.3487, 33.7294) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.04
Cobalt (survey)
#1E488F
ΔE00 2.74
Sapphire
#0F52BA
ΔE00 4.88
Darkish Blue
#014182
ΔE00 5.27
Dusk Blue
#26538D
ΔE00 5.41
Sapphire (survey)
#2138AB
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22479F #9F7A22
analogous
#22859F #22479F #3B229F
triadic
#22479F #9F2247 #479F22
tetradic
#22479F #9F2285 #9F7A22 #229F3B
square
#22479F #9F2285 #9F7A22 #229F3B
split-complementary
#22479F #9F3B22 #859F22
monochromatic
#0C1A3A #17306D #22479F #2D5ED1 #5F84DD
Accessibility & contrast
On white
8.50
#22479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#22479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22479F
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22479F | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #22479f; /* rgb */ color: rgb(34, 71, 159); /* oklch */ color: oklch(42.6% 0.149 263.9);
Tailwind
colors: {
custom: {
50: '#7179bc',
500: '#22479f',
950: '#000000',
},
}SCSS
$custom: #22479f; $custom-light: #7179bc; $custom-dark: #000000;
JSON
{
"hex": "#22479f",
"rgb": {
"r": 34,
"g": 71,
"b": 159
},
"hsl": {
"h": 222.24,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.42594,
"c": 0.1495,
"h": 263.9
},
"luminance": 0.0735
}Semantic roles & 50–950 ramp
primary
#22479F
secondary
#C1A35B
accent
#B640E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81