#34317E#34317E
#34317E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.126 H 279.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #34317E |
|---|---|
| RGB | rgb(52, 49, 126) |
| HSL | hsl(242, 44%, 34%) |
| HSV | hsv(242, 61%, 49%) |
| CMYK | cmyk(58.7%, 61.1%, 0%, 50.6%) |
| CIE-LAB | lab(25.05, 25.18, -43.40) |
| CIE-LCH | lch(25.05, 50.17, 300.12°) |
| OKLab | oklab(36.42% 0.0216 -0.1245) |
| OKLCH | oklch(36.42% 0.126 279.8) |
| XYZ | xyz(6.2792, 4.4326, 20.2593) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.51
Blueberry
#464196
ΔE00 5.72
Midnight Blue
#191970
ΔE00 6.87
Sapphire (survey)
#2138AB
ΔE00 7.36
Royal
#0C1793
ΔE00 8.23
Marine
#042E60
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34317E #7B7E31
analogous
#31557E #34317E #5B317E
triadic
#34317E #7E3431 #317E34
tetradic
#34317E #7E3155 #7B7E31 #317E5B
square
#34317E #7E3155 #7B7E31 #317E5B
split-complementary
#34317E #7E5B31 #557E31
monochromatic
#100F26 #222052 #34317E #4642AA #6A66C3
Accessibility & contrast
On white
11.13
#34317E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#34317E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34317E
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34317E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34317E | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#0B4352
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #34317e; /* rgb */ color: rgb(52, 49, 126); /* oklch */ color: oklch(36.4% 0.126 279.8);
Tailwind
colors: {
custom: {
50: '#7369a4',
500: '#34317e',
950: '#000000',
},
}SCSS
$custom: #34317e; $custom-light: #7369a4; $custom-dark: #000000;
JSON
{
"hex": "#34317e",
"rgb": {
"r": 52,
"g": 49,
"b": 126
},
"hsl": {
"h": 242.338,
"s": 44,
"l": 34.314
},
"oklch": {
"l": 0.36417,
"c": 0.12639,
"h": 279.8
},
"luminance": 0.04433
}Semantic roles & 50–950 ramp
primary
#34317E
secondary
#A8AB60
accent
#D454CF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F