#34408E#34408E
#34408E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.129 H 272.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #34408E |
|---|---|
| RGB | rgb(52, 64, 142) |
| HSL | hsl(232, 46%, 38%) |
| HSV | hsv(232, 63%, 56%) |
| CMYK | cmyk(63.4%, 54.9%, 0%, 44.3%) |
| CIE-LAB | lab(30.28, 20.84, -44.90) |
| CIE-LCH | lch(30.28, 49.50, 294.90°) |
| OKLab | oklab(40.7% 0.0062 -0.1288) |
| OKLCH | oklch(40.7% 0.129 272.7) |
| XYZ | xyz(8.1304, 6.3492, 26.3830) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.51
Darkslateblue
#483D8B
ΔE00 4.53
Cobalt (survey)
#1E488F
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.40
Cobalt
#0047AB
ΔE00 6.18
Darkish Blue
#014182
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34408E #8E8234
analogous
#346D8E #34408E #55348E
triadic
#34408E #8E3440 #408E34
tetradic
#34408E #8E346D #8E8234 #348E55
square
#34408E #8E346D #8E8234 #348E55
split-complementary
#34408E #8E5534 #6D8E34
monochromatic
#131834 #242C61 #34408E #4454BB #717DCB
Accessibility & contrast
On white
9.25
#34408E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#34408E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34408E
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34408E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34408E | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C4B91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #34408e; /* rgb */ color: rgb(52, 64, 142); /* oklch */ color: oklch(40.7% 0.129 272.7);
Tailwind
colors: {
custom: {
50: '#7574b0',
500: '#34408e',
950: '#000000',
},
}SCSS
$custom: #34408e; $custom-light: #7574b0; $custom-dark: #000000;
JSON
{
"hex": "#34408e",
"rgb": {
"r": 52,
"g": 64,
"b": 142
},
"hsl": {
"h": 232,
"s": 46.392,
"l": 38.039
},
"oklch": {
"l": 0.40695,
"c": 0.12896,
"h": 272.7
},
"luminance": 0.0635
}Semantic roles & 50–950 ramp
primary
#34408E
secondary
#B3AA6A
accent
#C452D6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F