#34349E#34349E
#34349E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.167 H 275.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #34349E |
|---|---|
| RGB | rgb(52, 52, 158) |
| HSL | hsl(240, 50%, 41%) |
| HSV | hsv(240, 67%, 62%) |
| CMYK | cmyk(67.1%, 67.1%, 0%, 38%) |
| CIE-LAB | lab(28.52, 34.41, -57.54) |
| CIE-LCH | lch(28.52, 67.04, 300.88°) |
| OKLab | oklab(39.81% 0.0166 -0.166) |
| OKLCH | oklch(39.81% 0.167 275.7) |
| XYZ | xyz(8.8137, 5.6539, 32.9680) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Blueberry
#464196
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 5.90
Indigo Blue
#3A18B1
ΔE00 6.68
Blue Blue
#2242C7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34349E #9E9E34
analogous
#34699E #34349E #69349E
triadic
#34349E #9E3434 #349E34
tetradic
#34349E #9E3469 #9E9E34 #349E69
square
#34349E #9E3469 #9E9E34 #349E69
split-complementary
#34349E #9E6934 #699E34
monochromatic
#161642 #252570 #34349E #4B4BC4 #7979D3
Accessibility & contrast
On white
9.85
#34349E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#34349E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34349E
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34349E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34349E | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #34349e; /* rgb */ color: rgb(52, 52, 158); /* oklch */ color: oklch(39.8% 0.167 275.7);
Tailwind
colors: {
custom: {
50: '#796cbc',
500: '#34349e',
950: '#000000',
},
}SCSS
$custom: #34349e; $custom-light: #796cbc; $custom-dark: #000000;
JSON
{
"hex": "#34349e",
"rgb": {
"r": 52,
"g": 52,
"b": 158
},
"hsl": {
"h": 240,
"s": 50.476,
"l": 41.176
},
"oklch": {
"l": 0.39806,
"c": 0.16687,
"h": 275.7
},
"luminance": 0.05655
}Semantic roles & 50–950 ramp
primary
#34349E
secondary
#BCBC72
accent
#DA4EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81