#34479B#34479B
#34479B is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.138 H 270.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #34479B |
|---|---|
| RGB | rgb(52, 71, 155) |
| HSL | hsl(229, 50%, 41%) |
| HSV | hsv(229, 66%, 61%) |
| CMYK | cmyk(66.5%, 54.2%, 0%, 39.2%) |
| CIE-LAB | lab(33.14, 20.91, -48.20) |
| CIE-LCH | lch(33.14, 52.54, 293.45°) |
| OKLab | oklab(43.15% 0.0002 -0.1384) |
| OKLCH | oklch(43.15% 0.138 270.1) |
| XYZ | xyz(9.5838, 7.6022, 31.9663) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.15
Cobalt
#0047AB
ΔE00 4.17
Blueberry
#464196
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 5.45
Sapphire
#0F52BA
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34479B #9B8834
analogous
#347A9B #34479B #54349B
triadic
#34479B #9B3447 #479B34
tetradic
#34479B #9B347A #9B8834 #349B54
square
#34479B #9B347A #9B8834 #349B54
split-complementary
#34479B #9B5434 #7A9B34
monochromatic
#151D3F #25326D #34479B #4A60C2 #7888D2
Accessibility & contrast
On white
8.33
#34479B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#34479B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34479B
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34479B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34479B | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E539E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #34479b; /* rgb */ color: rgb(52, 71, 155); /* oklch */ color: oklch(43.1% 0.138 270.1);
Tailwind
colors: {
custom: {
50: '#7779b9',
500: '#34479b',
950: '#000000',
},
}SCSS
$custom: #34479b; $custom-light: #7779b9; $custom-dark: #000000;
JSON
{
"hex": "#34479b",
"rgb": {
"r": 52,
"g": 71,
"b": 155
},
"hsl": {
"h": 228.932,
"s": 49.758,
"l": 40.588
},
"oklch": {
"l": 0.4315,
"c": 0.13843,
"h": 270.1
},
"luminance": 0.07603
}Semantic roles & 50–950 ramp
primary
#34479B
secondary
#BAAD71
accent
#C04FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80