#3F319B#3F319B
#3F319B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.164 H 282.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3F319B |
|---|---|
| RGB | rgb(63, 49, 155) |
| HSL | hsl(248, 52%, 40%) |
| HSV | hsv(248, 68%, 61%) |
| CMYK | cmyk(59.4%, 68.4%, 0%, 39.2%) |
| CIE-LAB | lab(28.43, 36.91, -55.83) |
| CIE-LCH | lch(28.43, 66.93, 303.47°) |
| OKLab | oklab(39.88% 0.034 -0.1607) |
| OKLCH | oklch(39.88% 0.164 282) |
| XYZ | xyz(9.0628, 5.6193, 31.6111) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Blueberry
#464196
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 4.95
Indigo Blue
#3A18B1
ΔE00 5.83
Ocean Blue
#4F42B5
ΔE00 5.98
Blue With A Hint Of Purple
#533CC6
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F319B #8D9B31
analogous
#31589B #3F319B #74319B
triadic
#3F319B #9B3F31 #319B3F
tetradic
#3F319B #9B3158 #8D9B31 #319B74
square
#3F319B #9B3158 #8D9B31 #319B74
split-complementary
#3F319B #9B7431 #589B31
monochromatic
#19143E #2C226D #3F319B #5645C4 #8073D3
Accessibility & contrast
On white
9.89
#3F319B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#3F319B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F319B
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F319B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F319B | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#054C62
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3f319b; /* rgb */ color: rgb(63, 49, 155); /* oklch */ color: oklch(39.9% 0.164 282.0);
Tailwind
colors: {
custom: {
50: '#7e6ab9',
500: '#3f319b',
950: '#000000',
},
}SCSS
$custom: #3f319b; $custom-light: #7e6ab9; $custom-dark: #000000;
JSON
{
"hex": "#3f319b",
"rgb": {
"r": 63,
"g": 49,
"b": 155
},
"hsl": {
"h": 247.925,
"s": 51.961,
"l": 40
},
"oklch": {
"l": 0.39876,
"c": 0.16426,
"h": 282
},
"luminance": 0.0562
}Semantic roles & 50–950 ramp
primary
#3F319B
secondary
#B1BB6D
accent
#DB4CC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81