#34579F#34579F
#34579F is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.124 H 263.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #34579F |
|---|---|
| RGB | rgb(52, 87, 159) |
| HSL | hsl(220, 51%, 41%) |
| HSV | hsv(220, 67%, 62%) |
| CMYK | cmyk(67.3%, 45.3%, 0%, 37.6%) |
| CIE-LAB | lab(37.93, 11.80, -42.90) |
| CIE-LCH | lch(37.93, 44.50, 285.38°) |
| OKLab | oklab(46.88% -0.0151 -0.1226) |
| OKLCH | oklch(46.88% 0.124 263) |
| XYZ | xyz(11.0802, 10.0486, 34.1498) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.31
Dusk Blue
#26538D
ΔE00 3.44
Dusky Blue
#475F94
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 4.02
Light Navy Blue
#2E5A88
ΔE00 4.27
Cobalt (survey)
#1E488F
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34579F #9F7C34
analogous
#348D9F #34579F #47349F
triadic
#34579F #9F3457 #579F34
tetradic
#34579F #9F348D #9F7C34 #349F47
square
#34579F #9F348D #9F7C34 #349F47
split-complementary
#34579F #9F4734 #8D9F34
monochromatic
#162543 #253E71 #34579F #4C73C4 #7A97D3
Accessibility & contrast
On white
6.98
#34579F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#34579F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #34579F
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34579F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34579F | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345FA2
Deuteranopia (green-blind)
#22559E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #34579f; /* rgb */ color: rgb(52, 87, 159); /* oklch */ color: oklch(46.9% 0.124 263.0);
Tailwind
colors: {
custom: {
50: '#7785bc',
500: '#34579f',
950: '#000000',
},
}SCSS
$custom: #34579f; $custom-light: #7785bc; $custom-dark: #000000;
JSON
{
"hex": "#34579f",
"rgb": {
"r": 52,
"g": 87,
"b": 159
},
"hsl": {
"h": 220.374,
"s": 50.711,
"l": 41.373
},
"oklch": {
"l": 0.46883,
"c": 0.12353,
"h": 263
},
"luminance": 0.1005
}Semantic roles & 50–950 ramp
primary
#34579F
secondary
#BCA473
accent
#AC4EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81