#3B348E#3B348E
#3B348E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.144 H 280.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3B348E |
|---|---|
| RGB | rgb(59, 52, 142) |
| HSL | hsl(245, 46%, 38%) |
| HSV | hsv(245, 63%, 56%) |
| CMYK | cmyk(58.5%, 63.4%, 0%, 44.3%) |
| CIE-LAB | lab(27.68, 30.06, -49.09) |
| CIE-LCH | lch(27.68, 57.56, 301.48°) |
| OKLab | oklab(38.9% 0.0271 -0.141) |
| OKLCH | oklch(38.9% 0.144 280.9) |
| XYZ | xyz(7.9126, 5.3383, 26.1994) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.43
Blueberry
#464196
ΔE00 3.92
Sapphire (survey)
#2138AB
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 7.13
Royal
#0C1793
ΔE00 7.96
Indigo Blue
#3A18B1
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B348E #878E34
analogous
#345A8E #3B348E #68348E
triadic
#3B348E #8E3B34 #348E3B
tetradic
#3B348E #8E345A #878E34 #348E68
square
#3B348E #8E345A #878E34 #348E68
split-complementary
#3B348E #8E6834 #5A8E34
monochromatic
#161334 #282461 #3B348E #4E44BB #7871CB
Accessibility & contrast
On white
10.16
#3B348E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#3B348E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B348E
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B348E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B348E | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#0D4A5C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3b348e; /* rgb */ color: rgb(59, 52, 142); /* oklch */ color: oklch(38.9% 0.144 280.9);
Tailwind
colors: {
custom: {
50: '#7a6cb0',
500: '#3b348e',
950: '#000000',
},
}SCSS
$custom: #3b348e; $custom-light: #7a6cb0; $custom-dark: #000000;
JSON
{
"hex": "#3b348e",
"rgb": {
"r": 59,
"g": 52,
"b": 142
},
"hsl": {
"h": 244.667,
"s": 46.392,
"l": 38.039
},
"oklch": {
"l": 0.38899,
"c": 0.14362,
"h": 280.9
},
"luminance": 0.05339
}Semantic roles & 50–950 ramp
primary
#3B348E
secondary
#AEB36A
accent
#D652CC
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F