#34317D#34317D
#34317D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.125 H 279.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #34317D |
|---|---|
| RGB | rgb(52, 49, 125) |
| HSL | hsl(242, 44%, 34%) |
| HSV | hsv(242, 61%, 49%) |
| CMYK | cmyk(58.4%, 60.8%, 0%, 51%) |
| CIE-LAB | lab(24.97, 24.83, -42.90) |
| CIE-LCH | lch(24.97, 49.56, 300.06°) |
| OKLab | oklab(36.33% 0.0216 -0.1231) |
| OKLCH | oklch(36.33% 0.125 279.9) |
| XYZ | xyz(6.2150, 4.4069, 19.9212) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.55
Blueberry
#464196
ΔE00 5.81
Midnight Blue
#191970
ΔE00 6.88
Sapphire (survey)
#2138AB
ΔE00 7.52
Royal
#0C1793
ΔE00 8.35
Marine
#042E60
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34317D #7A7D31
analogous
#31547D #34317D #5A317D
triadic
#34317D #7D3431 #317D34
tetradic
#34317D #7D3154 #7A7D31 #317D5A
square
#34317D #7D3154 #7A7D31 #317D5A
split-complementary
#34317D #7D5A31 #547D31
monochromatic
#0F0F25 #222051 #34317D #4642A9 #6966C3
Accessibility & contrast
On white
11.16
#34317D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#34317D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34317D
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34317D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34317D | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#0D4352
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #34317d; /* rgb */ color: rgb(52, 49, 125); /* oklch */ color: oklch(36.3% 0.125 279.9);
Tailwind
colors: {
custom: {
50: '#7369a3',
500: '#34317d',
950: '#000000',
},
}SCSS
$custom: #34317d; $custom-light: #7369a3; $custom-dark: #000000;
JSON
{
"hex": "#34317d",
"rgb": {
"r": 52,
"g": 49,
"b": 125
},
"hsl": {
"h": 242.368,
"s": 43.678,
"l": 34.118
},
"oklch": {
"l": 0.36333,
"c": 0.12494,
"h": 279.9
},
"luminance": 0.04407
}Semantic roles & 50–950 ramp
primary
#34317D
secondary
#A7AA60
accent
#D354CE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F