#34499E#34499E
#34499E is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.140 H 269.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #34499E |
|---|---|
| RGB | rgb(52, 73, 158) |
| HSL | hsl(228, 50%, 41%) |
| HSV | hsv(228, 67%, 62%) |
| CMYK | cmyk(67.1%, 53.8%, 0%, 38%) |
| CIE-LAB | lab(33.91, 20.68, -48.78) |
| CIE-LCH | lch(33.91, 52.98, 292.98°) |
| OKLab | oklab(43.8% -0.0015 -0.1401) |
| OKLCH | oklch(43.8% 0.14 269.4) |
| XYZ | xyz(9.9682, 7.9629, 33.3528) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.86
Cobalt (survey)
#1E488F
ΔE00 4.08
Blueberry
#464196
ΔE00 4.97
Sapphire
#0F52BA
ΔE00 5.57
Sapphire (survey)
#2138AB
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34499E #9E8934
analogous
#347E9E #34499E #54349E
triadic
#34499E #9E3449 #499E34
tetradic
#34499E #9E347E #9E8934 #349E54
square
#34499E #9E347E #9E8934 #349E54
split-complementary
#34499E #9E5434 #7E9E34
monochromatic
#161E42 #253470 #34499E #4B63C4 #798BD3
Accessibility & contrast
On white
8.10
#34499E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#34499E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34499E
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34499E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34499E | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1055A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #34499e; /* rgb */ color: rgb(52, 73, 158); /* oklch */ color: oklch(43.8% 0.140 269.4);
Tailwind
colors: {
custom: {
50: '#787bbb',
500: '#34499e',
950: '#000000',
},
}SCSS
$custom: #34499e; $custom-light: #787bbb; $custom-dark: #000000;
JSON
{
"hex": "#34499e",
"rgb": {
"r": 52,
"g": 73,
"b": 158
},
"hsl": {
"h": 228.113,
"s": 50.476,
"l": 41.176
},
"oklch": {
"l": 0.43795,
"c": 0.14011,
"h": 269.4
},
"luminance": 0.07964
}Semantic roles & 50–950 ramp
primary
#34499E
secondary
#BCAD72
accent
#BE4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81