#34317C#34317C
#34317C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.123 H 280.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #34317C |
|---|---|
| RGB | rgb(52, 49, 124) |
| HSL | hsl(242, 43%, 34%) |
| HSV | hsv(242, 60%, 49%) |
| CMYK | cmyk(58.1%, 60.5%, 0%, 51.4%) |
| CIE-LAB | lab(24.89, 24.48, -42.39) |
| CIE-LCH | lch(24.89, 48.95, 300.00°) |
| OKLab | oklab(36.25% 0.0216 -0.1216) |
| OKLCH | oklch(36.25% 0.123 280.1) |
| XYZ | xyz(6.1514, 4.3815, 19.5864) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.60
Blueberry
#464196
ΔE00 5.91
Midnight Blue
#191970
ΔE00 6.89
Sapphire (survey)
#2138AB
ΔE00 7.69
Royal
#0C1793
ΔE00 8.47
Marine
#042E60
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34317C #797C31
analogous
#31547C #34317C #5A317C
triadic
#34317C #7C3431 #317C34
tetradic
#34317C #7C3154 #797C31 #317C5A
square
#34317C #7C3154 #797C31 #317C5A
split-complementary
#34317C #7C5A31 #547C31
monochromatic
#0F0E24 #222050 #34317C #4642A8 #6965C2
Accessibility & contrast
On white
11.19
#34317C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#34317C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34317C
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34317C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34317C | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#0F4351
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #34317c; /* rgb */ color: rgb(52, 49, 124); /* oklch */ color: oklch(36.3% 0.123 280.1);
Tailwind
colors: {
custom: {
50: '#7369a2',
500: '#34317c',
950: '#000000',
},
}SCSS
$custom: #34317c; $custom-light: #7369a2; $custom-dark: #000000;
JSON
{
"hex": "#34317c",
"rgb": {
"r": 52,
"g": 49,
"b": 124
},
"hsl": {
"h": 242.4,
"s": 43.353,
"l": 33.922
},
"oklch": {
"l": 0.3625,
"c": 0.12348,
"h": 280.1
},
"luminance": 0.04382
}Semantic roles & 50–950 ramp
primary
#34317C
secondary
#A7AA5F
accent
#D355CE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F