#34309E#34309E
#34309E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.172 H 276.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #34309E |
|---|---|
| RGB | rgb(52, 48, 158) |
| HSL | hsl(242, 53%, 40%) |
| HSV | hsv(242, 70%, 62%) |
| CMYK | cmyk(67.1%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(27.61, 36.89, -59.04) |
| CIE-LCH | lch(27.61, 69.62, 302.00°) |
| OKLab | oklab(39.14% 0.0196 -0.1704) |
| OKLCH | oklch(39.14% 0.172 276.6) |
| XYZ | xyz(8.6427, 5.3118, 32.9110) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.62
Blueberry
#464196
ΔE00 5.52
Indigo Blue
#3A18B1
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 5.95
Royal
#0C1793
ΔE00 6.45
Ocean Blue
#4F42B5
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34309E #9A9E30
analogous
#30639E #34309E #6B309E
triadic
#34309E #9E3430 #309E34
tetradic
#34309E #9E3063 #9A9E30 #309E6B
square
#34309E #9E3063 #9A9E30 #309E6B
split-complementary
#34309E #9E6B30 #639E30
monochromatic
#151340 #25226F #34309E #4945C6 #7774D5
Accessibility & contrast
On white
10.18
#34309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#34309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34309E
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34309E | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #34309e; /* rgb */ color: rgb(52, 48, 158); /* oklch */ color: oklch(39.1% 0.172 276.6);
Tailwind
colors: {
custom: {
50: '#7a69bc',
500: '#34309e',
950: '#000000',
},
}SCSS
$custom: #34309e; $custom-light: #7a69bc; $custom-dark: #000000;
JSON
{
"hex": "#34309e",
"rgb": {
"r": 52,
"g": 48,
"b": 158
},
"hsl": {
"h": 242.182,
"s": 53.398,
"l": 40.392
},
"oklch": {
"l": 0.39143,
"c": 0.17156,
"h": 276.6
},
"luminance": 0.05313
}Semantic roles & 50–950 ramp
primary
#34309E
secondary
#BABD6D
accent
#DD4BD7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81