#34309B#34309B
#34309B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.168 H 276.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #34309B |
|---|---|
| RGB | rgb(52, 48, 155) |
| HSL | hsl(242, 53%, 40%) |
| HSV | hsv(242, 69%, 61%) |
| CMYK | cmyk(66.5%, 69%, 0%, 39.2%) |
| CIE-LAB | lab(27.32, 35.86, -57.67) |
| CIE-LCH | lch(27.32, 67.91, 301.87°) |
| OKLab | oklab(38.85% 0.02 -0.1664) |
| OKLCH | oklch(38.85% 0.168 276.9) |
| XYZ | xyz(8.3876, 5.2098, 31.5676) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.82
Blueberry
#464196
ΔE00 5.39
Darkslateblue
#483D8B
ΔE00 5.70
Indigo Blue
#3A18B1
ΔE00 5.92
Royal
#0C1793
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34309B #979B30
analogous
#30629B #34309B #6A309B
triadic
#34309B #9B3430 #309B34
tetradic
#34309B #9B3062 #979B30 #309B6A
square
#34309B #9B3062 #979B30 #309B6A
split-complementary
#34309B #9B6A30 #629B30
monochromatic
#15133E #24226C #34309B #4843C5 #7672D3
Accessibility & contrast
On white
10.28
#34309B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#34309B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34309B
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34309B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34309B | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #34309b; /* rgb */ color: rgb(52, 48, 155); /* oklch */ color: oklch(38.9% 0.168 276.9);
Tailwind
colors: {
custom: {
50: '#7969b9',
500: '#34309b',
950: '#000000',
},
}SCSS
$custom: #34309b; $custom-light: #7969b9; $custom-dark: #000000;
JSON
{
"hex": "#34309b",
"rgb": {
"r": 52,
"g": 48,
"b": 155
},
"hsl": {
"h": 242.243,
"s": 52.709,
"l": 39.804
},
"oklch": {
"l": 0.38854,
"c": 0.16764,
"h": 276.9
},
"luminance": 0.05211
}Semantic roles & 50–950 ramp
primary
#34309B
secondary
#B8BB6C
accent
#DC4CD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81