#3F31B3#3F31B3
#3F31B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.1% C 0.195 H 278.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3F31B3 |
|---|---|
| RGB | rgb(63, 49, 179) |
| HSL | hsl(246, 57%, 45%) |
| HSV | hsv(246, 73%, 70%) |
| CMYK | cmyk(64.8%, 72.6%, 0%, 29.8%) |
| CIE-LAB | lab(30.66, 44.62, -66.63) |
| CIE-LCH | lch(30.66, 80.19, 303.81°) |
| OKLab | oklab(42.15% 0.0299 -0.1923) |
| OKLCH | oklch(42.15% 0.195 278.8) |
| XYZ | xyz(11.2823, 6.5071, 43.3005) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.43
Blue With A Hint Of Purple
#533CC6
ΔE00 4.59
Ocean Blue
#4F42B5
ΔE00 4.67
Indigo Blue
#3A18B1
ΔE00 4.81
Blurple
#5539CC
ΔE00 4.97
Purple Blue
#5D21D0
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F31B3 #A5B331
analogous
#3164B3 #3F31B3 #8031B3
triadic
#3F31B3 #B33F31 #31B33F
tetradic
#3F31B3 #B33164 #A5B331 #31B380
square
#3F31B3 #B33164 #A5B331 #31B380
split-complementary
#3F31B3 #B38031 #64B331
monochromatic
#1D1753 #2E2483 #3F31B3 #5F52D0 #8C82DD
Accessibility & contrast
On white
9.12
#3F31B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#3F31B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F31B3
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F31B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F31B3 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #3f31b3; /* rgb */ color: rgb(63, 49, 179); /* oklch */ color: oklch(42.1% 0.195 278.8);
Tailwind
colors: {
custom: {
50: '#836bcb',
500: '#3f31b3',
950: '#000000',
},
}SCSS
$custom: #3f31b3; $custom-light: #836bcb; $custom-dark: #000000;
JSON
{
"hex": "#3f31b3",
"rgb": {
"r": 63,
"g": 49,
"b": 179
},
"hsl": {
"h": 246.462,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.42149,
"c": 0.19463,
"h": 278.8
},
"luminance": 0.06508
}Semantic roles & 50–950 ramp
primary
#3F31B3
secondary
#BEC67A
accent
#E048D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82