#3F31B2#3F31B2
#3F31B2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.1% C 0.193 H 278.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3F31B2 |
|---|---|
| RGB | rgb(63, 49, 178) |
| HSL | hsl(247, 57%, 45%) |
| HSV | hsv(247, 72%, 70%) |
| CMYK | cmyk(64.6%, 72.5%, 0%, 30.2%) |
| CIE-LAB | lab(30.56, 44.30, -66.19) |
| CIE-LCH | lch(30.56, 79.65, 303.79°) |
| OKLab | oklab(42.05% 0.0301 -0.191) |
| OKLCH | oklch(42.05% 0.193 278.9) |
| XYZ | xyz(11.1815, 6.4668, 42.7698) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.40
Blue With A Hint Of Purple
#533CC6
ΔE00 4.68
Ocean Blue
#4F42B5
ΔE00 4.69
Indigo Blue
#3A18B1
ΔE00 4.80
Blurple
#5539CC
ΔE00 5.07
Purple Blue
#5D21D0
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F31B2 #A4B231
analogous
#3163B2 #3F31B2 #8031B2
triadic
#3F31B2 #B23F31 #31B23F
tetradic
#3F31B2 #B23163 #A4B231 #31B280
square
#3F31B2 #B23163 #A4B231 #31B280
split-complementary
#3F31B2 #B28031 #63B231
monochromatic
#1D1752 #2E2482 #3F31B2 #5F51CF #8B81DC
Accessibility & contrast
On white
9.16
#3F31B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#3F31B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F31B2
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F31B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F31B2 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #3f31b2; /* rgb */ color: rgb(63, 49, 178); /* oklch */ color: oklch(42.1% 0.193 278.9);
Tailwind
colors: {
custom: {
50: '#836bca',
500: '#3f31b2',
950: '#000000',
},
}SCSS
$custom: #3f31b2; $custom-light: #836bca; $custom-dark: #000000;
JSON
{
"hex": "#3f31b2",
"rgb": {
"r": 63,
"g": 49,
"b": 178
},
"hsl": {
"h": 246.512,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.42051,
"c": 0.1934,
"h": 278.9
},
"luminance": 0.06468
}Semantic roles & 50–950 ramp
primary
#3F31B2
secondary
#BDC579
accent
#E048D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82