#34319E#34319E
#34319E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.170 H 276.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #34319E |
|---|---|
| RGB | rgb(52, 49, 158) |
| HSL | hsl(242, 53%, 41%) |
| HSV | hsv(242, 69%, 62%) |
| CMYK | cmyk(67.1%, 69%, 0%, 38%) |
| CIE-LAB | lab(27.83, 36.27, -58.67) |
| CIE-LCH | lch(27.83, 68.98, 301.73°) |
| OKLab | oklab(39.31% 0.0189 -0.1694) |
| OKLCH | oklch(39.31% 0.17 276.4) |
| XYZ | xyz(8.6840, 5.3946, 32.9247) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.43
Blueberry
#464196
ΔE00 5.30
Darkslateblue
#483D8B
ΔE00 5.80
Indigo Blue
#3A18B1
ΔE00 5.90
Ocean Blue
#4F42B5
ΔE00 6.31
Royal
#0C1793
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34319E #9B9E31
analogous
#31659E #34319E #6A319E
triadic
#34319E #9E3431 #319E34
tetradic
#34319E #9E3165 #9B9E31 #319E6A
square
#34319E #9E3165 #9B9E31 #319E6A
split-complementary
#34319E #9E6A31 #659E31
monochromatic
#151441 #25236F #34319E #4A46C6 #7875D4
Accessibility & contrast
On white
10.10
#34319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#34319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34319E
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34319E | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #34319e; /* rgb */ color: rgb(52, 49, 158); /* oklch */ color: oklch(39.3% 0.170 276.4);
Tailwind
colors: {
custom: {
50: '#7a6abc',
500: '#34319e',
950: '#000000',
},
}SCSS
$custom: #34319e; $custom-light: #7a6abc; $custom-dark: #000000;
JSON
{
"hex": "#34319e",
"rgb": {
"r": 52,
"g": 49,
"b": 158
},
"hsl": {
"h": 241.651,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.39305,
"c": 0.17041,
"h": 276.4
},
"luminance": 0.05395
}Semantic roles & 50–950 ramp
primary
#34319E
secondary
#BABC6E
accent
#DC4CD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81