#34479E#34479E
#34479E is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.143 H 270.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #34479E |
|---|---|
| RGB | rgb(52, 71, 158) |
| HSL | hsl(229, 50%, 41%) |
| HSV | hsv(229, 67%, 62%) |
| CMYK | cmyk(67.1%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(33.36, 22.01, -49.66) |
| CIE-LCH | lch(33.36, 54.32, 293.91°) |
| OKLab | oklab(43.38% 0.0004 -0.1427) |
| OKLCH | oklch(43.38% 0.143 270.1) |
| XYZ | xyz(9.8389, 7.7043, 33.3097) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 4.41
Blueberry
#464196
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 5.19
Blue Blue
#2242C7
ΔE00 5.93
Sapphire
#0F52BA
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34479E #9E8B34
analogous
#347C9E #34479E #56349E
triadic
#34479E #9E3447 #479E34
tetradic
#34479E #9E347C #9E8B34 #349E56
square
#34479E #9E347C #9E8B34 #349E56
split-complementary
#34479E #9E5634 #7C9E34
monochromatic
#161E42 #253270 #34479E #4B61C4 #7989D3
Accessibility & contrast
On white
8.26
#34479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#34479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34479E
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34479E | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0553A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #34479e; /* rgb */ color: rgb(52, 71, 158); /* oklch */ color: oklch(43.4% 0.143 270.1);
Tailwind
colors: {
custom: {
50: '#7879bb',
500: '#34479e',
950: '#000000',
},
}SCSS
$custom: #34479e; $custom-light: #7879bb; $custom-dark: #000000;
JSON
{
"hex": "#34479e",
"rgb": {
"r": 52,
"g": 71,
"b": 158
},
"hsl": {
"h": 229.245,
"s": 50.476,
"l": 41.176
},
"oklch": {
"l": 0.43384,
"c": 0.14272,
"h": 270.1
},
"luminance": 0.07705
}Semantic roles & 50–950 ramp
primary
#34479E
secondary
#BCAE72
accent
#C14EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81