#3F349E#3F349E
#3F349E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.165 H 280.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3F349E |
|---|---|
| RGB | rgb(63, 52, 158) |
| HSL | hsl(246, 50%, 41%) |
| HSV | hsv(246, 67%, 62%) |
| CMYK | cmyk(60.1%, 67.1%, 0%, 38%) |
| CIE-LAB | lab(29.36, 36.08, -56.13) |
| CIE-LCH | lch(29.36, 66.72, 302.73°) |
| OKLab | oklab(40.63% 0.031 -0.1616) |
| OKLCH | oklch(40.63% 0.165 280.9) |
| XYZ | xyz(9.4475, 5.9807, 32.9977) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.21
Blueberry
#464196
ΔE00 4.25
Darkslateblue
#483D8B
ΔE00 4.74
Ocean Blue
#4F42B5
ΔE00 5.21
Indigo Blue
#3A18B1
ΔE00 6.30
Blue With A Hint Of Purple
#533CC6
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F349E #939E34
analogous
#345E9E #3F349E #74349E
triadic
#3F349E #9E3F34 #349E3F
tetradic
#3F349E #9E345E #939E34 #349E74
square
#3F349E #9E345E #939E34 #349E74
split-complementary
#3F349E #9E7434 #5E9E34
monochromatic
#1A1642 #2D2570 #3F349E #584BC4 #8379D3
Accessibility & contrast
On white
9.56
#3F349E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#3F349E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F349E
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F349E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F349E | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3f349e; /* rgb */ color: rgb(63, 52, 158); /* oklch */ color: oklch(40.6% 0.165 280.9);
Tailwind
colors: {
custom: {
50: '#7f6cbc',
500: '#3f349e',
950: '#000000',
},
}SCSS
$custom: #3f349e; $custom-light: #7f6cbc; $custom-dark: #000000;
JSON
{
"hex": "#3f349e",
"rgb": {
"r": 63,
"g": 52,
"b": 158
},
"hsl": {
"h": 246.226,
"s": 50.476,
"l": 41.176
},
"oklch": {
"l": 0.40631,
"c": 0.16452,
"h": 280.9
},
"luminance": 0.05981
}Semantic roles & 50–950 ramp
primary
#3F349E
secondary
#B4BC72
accent
#DA4ECB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81