#34479F#34479F
#34479F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.144 H 270.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #34479F |
|---|---|
| RGB | rgb(52, 71, 159) |
| HSL | hsl(229, 51%, 41%) |
| HSV | hsv(229, 67%, 62%) |
| CMYK | cmyk(67.3%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(33.43, 22.38, -50.14) |
| CIE-LCH | lch(33.43, 54.91, 294.05°) |
| OKLab | oklab(43.46% 0.0004 -0.1441) |
| OKLCH | oklch(43.46% 0.144 270.2) |
| XYZ | xyz(9.9253, 7.7388, 33.7648) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.98
Blueberry
#464196
ΔE00 4.46
Cobalt (survey)
#1E488F
ΔE00 4.51
Sapphire (survey)
#2138AB
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.78
Sapphire
#0F52BA
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34479F #9F8C34
analogous
#347D9F #34479F #57349F
triadic
#34479F #9F3447 #479F34
tetradic
#34479F #9F347D #9F8C34 #349F57
square
#34479F #9F347D #9F8C34 #349F57
split-complementary
#34479F #9F5734 #7D9F34
monochromatic
#161E43 #253271 #34479F #4C61C4 #7A8AD3
Accessibility & contrast
On white
8.24
#34479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#34479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34479F
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34479F | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #34479f; /* rgb */ color: rgb(52, 71, 159); /* oklch */ color: oklch(43.5% 0.144 270.2);
Tailwind
colors: {
custom: {
50: '#7879bc',
500: '#34479f',
950: '#000000',
},
}SCSS
$custom: #34479f; $custom-light: #7879bc; $custom-dark: #000000;
JSON
{
"hex": "#34479f",
"rgb": {
"r": 52,
"g": 71,
"b": 159
},
"hsl": {
"h": 229.346,
"s": 50.711,
"l": 41.373
},
"oklch": {
"l": 0.43463,
"c": 0.14415,
"h": 270.2
},
"luminance": 0.0774
}Semantic roles & 50–950 ramp
primary
#34479F
secondary
#BCAF73
accent
#C14EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81