#3F41C5#3F41C5
#3F41C5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.3% C 0.200 H 274.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3F41C5 |
|---|---|
| RGB | rgb(63, 65, 197) |
| HSL | hsl(239, 54%, 51%) |
| HSV | hsv(239, 68%, 77%) |
| CMYK | cmyk(68%, 67%, 0%, 22.7%) |
| CIE-LAB | lab(35.73, 41.19, -68.91) |
| CIE-LCH | lch(35.73, 80.29, 300.87°) |
| OKLab | oklab(46.3% 0.0163 -0.199) |
| OKLCH | oklch(46.3% 0.2 274.7) |
| XYZ | xyz(14.0149, 8.8673, 53.7855) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.72
Ocean Blue
#4F42B5
ΔE00 2.98
Blue With A Hint Of Purple
#533CC6
ΔE00 3.11
Blurple
#5539CC
ΔE00 3.83
Blue (survey)
#0343DF
ΔE00 4.07
Bluey Purple
#6241C7
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F41C5 #C5C33F
analogous
#3F84C5 #3F41C5 #803FC5
triadic
#3F41C5 #C53F41 #41C53F
tetradic
#3F41C5 #C53F84 #C5C33F #3FC580
square
#3F41C5 #C53F84 #C5C33F #3FC580
split-complementary
#3F41C5 #C5803F #84C53F
monochromatic
#20216A #2E3099 #3F41C5 #6E70D3 #9D9EE1
Accessibility & contrast
On white
7.57
#3F41C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#3F41C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F41C5
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F41C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F41C5 | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#004EC3
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3f41c5; /* rgb */ color: rgb(63, 65, 197); /* oklch */ color: oklch(46.3% 0.200 274.7);
Tailwind
colors: {
custom: {
50: '#8576d8',
500: '#3f41c5',
950: '#000000',
},
}SCSS
$custom: #3f41c5; $custom-light: #8576d8; $custom-dark: #000000;
JSON
{
"hex": "#3f41c5",
"rgb": {
"r": 63,
"g": 65,
"b": 197
},
"hsl": {
"h": 239.104,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.46298,
"c": 0.19969,
"h": 274.7
},
"luminance": 0.08869
}Semantic roles & 50–950 ramp
primary
#3F41C5
secondary
#CECD92
accent
#DB4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0815
muted
#7D7B83