#34489E#34489E
#34489E is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.141 H 269.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #34489E |
|---|---|
| RGB | rgb(52, 72, 158) |
| HSL | hsl(229, 50%, 41%) |
| HSV | hsv(229, 67%, 62%) |
| CMYK | cmyk(67.1%, 54.4%, 0%, 38%) |
| CIE-LAB | lab(33.63, 21.35, -49.22) |
| CIE-LCH | lch(33.63, 53.65, 293.45°) |
| OKLab | oklab(43.59% -0.0006 -0.1414) |
| OKLCH | oklch(43.59% 0.141 269.8) |
| XYZ | xyz(9.9030, 7.8325, 33.3311) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.93
Cobalt (survey)
#1E488F
ΔE00 4.24
Blueberry
#464196
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 5.49
Sapphire
#0F52BA
ΔE00 5.81
Blue Blue
#2242C7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34489E #9E8A34
analogous
#347D9E #34489E #55349E
triadic
#34489E #9E3448 #489E34
tetradic
#34489E #9E347D #9E8A34 #349E55
square
#34489E #9E347D #9E8A34 #349E55
split-complementary
#34489E #9E5534 #7D9E34
monochromatic
#161E42 #253370 #34489E #4B62C4 #798AD3
Accessibility & contrast
On white
8.18
#34489E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#34489E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34489E
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34489E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34489E | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B54A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #34489e; /* rgb */ color: rgb(52, 72, 158); /* oklch */ color: oklch(43.6% 0.141 269.8);
Tailwind
colors: {
custom: {
50: '#787abb',
500: '#34489e',
950: '#000000',
},
}SCSS
$custom: #34489e; $custom-light: #787abb; $custom-dark: #000000;
JSON
{
"hex": "#34489e",
"rgb": {
"r": 52,
"g": 72,
"b": 158
},
"hsl": {
"h": 228.679,
"s": 50.476,
"l": 41.176
},
"oklch": {
"l": 0.43589,
"c": 0.14141,
"h": 269.8
},
"luminance": 0.07833
}Semantic roles & 50–950 ramp
primary
#34489E
secondary
#BCAE72
accent
#C04EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81