#22479D#22479D
#22479D is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.147 H 263.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #22479D |
|---|---|
| RGB | rgb(34, 71, 157) |
| HSL | hsl(222, 64%, 37%) |
| HSV | hsv(222, 78%, 62%) |
| CMYK | cmyk(78.3%, 54.8%, 0%, 38.4%) |
| CIE-LAB | lab(32.44, 19.09, -50.59) |
| CIE-LCH | lch(32.44, 54.07, 290.68°) |
| OKLab | oklab(42.43% -0.016 -0.1458) |
| OKLCH | oklch(42.43% 0.147 263.7) |
| XYZ | xyz(8.9966, 7.2799, 32.8228) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.20
Cobalt (survey)
#1E488F
ΔE00 2.45
Darkish Blue
#014182
ΔE00 5.02
Sapphire
#0F52BA
ΔE00 5.03
Dusk Blue
#26538D
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22479D #9D7822
analogous
#22859D #22479D #3A229D
triadic
#22479D #9D2247 #479D22
tetradic
#22479D #9D2285 #9D7822 #229D3A
square
#22479D #9D2285 #9D7822 #229D3A
split-complementary
#22479D #9D3A22 #859D22
monochromatic
#0C1A38 #17306B #22479D #2D5ECF #5D83DC
Accessibility & contrast
On white
8.55
#22479D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#22479D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22479D
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22479D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22479D | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #22479d; /* rgb */ color: rgb(34, 71, 157); /* oklch */ color: oklch(42.4% 0.147 263.7);
Tailwind
colors: {
custom: {
50: '#7179bb',
500: '#22479d',
950: '#000000',
},
}SCSS
$custom: #22479d; $custom-light: #7179bb; $custom-dark: #000000;
JSON
{
"hex": "#22479d",
"rgb": {
"r": 34,
"g": 71,
"b": 157
},
"hsl": {
"h": 221.951,
"s": 64.398,
"l": 37.451
},
"oklch": {
"l": 0.42431,
"c": 0.14671,
"h": 263.7
},
"luminance": 0.07281
}Semantic roles & 50–950 ramp
primary
#22479D
secondary
#C1A25A
accent
#B540E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81