#34319B#34319B
#34319B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.166 H 276.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #34319B |
|---|---|
| RGB | rgb(52, 49, 155) |
| HSL | hsl(242, 52%, 40%) |
| HSV | hsv(242, 68%, 61%) |
| CMYK | cmyk(66.5%, 68.4%, 0%, 39.2%) |
| CIE-LAB | lab(27.55, 35.25, -57.30) |
| CIE-LCH | lch(27.55, 67.27, 301.60°) |
| OKLab | oklab(39.02% 0.0193 -0.1653) |
| OKLCH | oklch(39.02% 0.166 276.6) |
| XYZ | xyz(8.4290, 5.2925, 31.5814) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.64
Blueberry
#464196
ΔE00 5.16
Darkslateblue
#483D8B
ΔE00 5.54
Indigo Blue
#3A18B1
ΔE00 6.16
Ocean Blue
#4F42B5
ΔE00 6.55
Royal
#0C1793
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34319B #989B31
analogous
#31639B #34319B #69319B
triadic
#34319B #9B3431 #319B34
tetradic
#34319B #9B3163 #989B31 #319B69
square
#34319B #9B3163 #989B31 #319B69
split-complementary
#34319B #9B6931 #639B31
monochromatic
#15143E #24226D #34319B #4945C4 #7673D3
Accessibility & contrast
On white
10.20
#34319B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#34319B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34319B
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34319B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34319B | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #34319b; /* rgb */ color: rgb(52, 49, 155); /* oklch */ color: oklch(39.0% 0.166 276.6);
Tailwind
colors: {
custom: {
50: '#796ab9',
500: '#34319b',
950: '#000000',
},
}SCSS
$custom: #34319b; $custom-light: #796ab9; $custom-dark: #000000;
JSON
{
"hex": "#34319b",
"rgb": {
"r": 52,
"g": 49,
"b": 155
},
"hsl": {
"h": 241.698,
"s": 51.961,
"l": 40
},
"oklch": {
"l": 0.39019,
"c": 0.16647,
"h": 276.6
},
"luminance": 0.05293
}Semantic roles & 50–950 ramp
primary
#34319B
secondary
#B9BB6D
accent
#DB4CD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81