#34418E#34418E
#34418E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.128 H 272.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #34418E |
|---|---|
| RGB | rgb(52, 65, 142) |
| HSL | hsl(231, 46%, 38%) |
| HSV | hsv(231, 63%, 56%) |
| CMYK | cmyk(63.4%, 54.2%, 0%, 44.3%) |
| CIE-LAB | lab(30.55, 20.17, -44.45) |
| CIE-LCH | lch(30.55, 48.81, 294.40°) |
| OKLab | oklab(40.9% 0.0052 -0.1275) |
| OKLCH | oklch(40.9% 0.128 272.3) |
| XYZ | xyz(8.1873, 6.4630, 26.4020) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.66
Darkslateblue
#483D8B
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.57
Cobalt
#0047AB
ΔE00 6.01
Darkish Blue
#014182
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34418E #8E8134
analogous
#346E8E #34418E #54348E
triadic
#34418E #8E3441 #418E34
tetradic
#34418E #8E346E #8E8134 #348E54
square
#34418E #8E346E #8E8134 #348E54
split-complementary
#34418E #8E5434 #6E8E34
monochromatic
#131834 #242C61 #34418E #4456BB #717ECB
Accessibility & contrast
On white
9.16
#34418E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#34418E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34418E
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34418E | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #34418e; /* rgb */ color: rgb(52, 65, 142); /* oklch */ color: oklch(40.9% 0.128 272.3);
Tailwind
colors: {
custom: {
50: '#7575b0',
500: '#34418e',
950: '#000000',
},
}SCSS
$custom: #34418e; $custom-light: #7575b0; $custom-dark: #000000;
JSON
{
"hex": "#34418e",
"rgb": {
"r": 52,
"g": 65,
"b": 142
},
"hsl": {
"h": 231.333,
"s": 46.392,
"l": 38.039
},
"oklch": {
"l": 0.40902,
"c": 0.12759,
"h": 272.3
},
"luminance": 0.06464
}Semantic roles & 50–950 ramp
primary
#34418E
secondary
#B3A96A
accent
#C352D6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F