#3F46C5#3F46C5
#3F46C5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.194 H 273.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3F46C5 |
|---|---|
| RGB | rgb(63, 70, 197) |
| HSL | hsl(237, 54%, 51%) |
| HSV | hsv(237, 68%, 77%) |
| CMYK | cmyk(68%, 64.5%, 0%, 22.7%) |
| CIE-LAB | lab(36.87, 38.14, -67.05) |
| CIE-LCH | lch(36.87, 77.14, 299.64°) |
| OKLab | oklab(47.13% 0.0127 -0.1935) |
| OKLCH | oklch(47.13% 0.194 273.8) |
| XYZ | xyz(14.3147, 9.4670, 53.8854) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.63
Ocean Blue
#4F42B5
ΔE00 3.39
Blue (survey)
#0343DF
ΔE00 3.89
Blue With A Hint Of Purple
#533CC6
ΔE00 4.09
Blurple
#5539CC
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F46C5 #C5BE3F
analogous
#3F89C5 #3F46C5 #7B3FC5
triadic
#3F46C5 #C53F46 #46C53F
tetradic
#3F46C5 #C53F89 #C5BE3F #3FC57B
square
#3F46C5 #C53F89 #C5BE3F #3FC57B
split-complementary
#3F46C5 #C57B3F #89C53F
monochromatic
#20246A #2E3499 #3F46C5 #6E73D3 #9DA1E1
Accessibility & contrast
On white
7.26
#3F46C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#3F46C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F46C5
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F46C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F46C5 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3f46c5; /* rgb */ color: rgb(63, 70, 197); /* oklch */ color: oklch(47.1% 0.194 273.8);
Tailwind
colors: {
custom: {
50: '#857ad8',
500: '#3f46c5',
950: '#000000',
},
}SCSS
$custom: #3f46c5; $custom-light: #857ad8; $custom-dark: #000000;
JSON
{
"hex": "#3f46c5",
"rgb": {
"r": 63,
"g": 70,
"b": 197
},
"hsl": {
"h": 236.866,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.47128,
"c": 0.19395,
"h": 273.8
},
"luminance": 0.09468
}Semantic roles & 50–950 ramp
primary
#3F46C5
secondary
#CECA92
accent
#D54BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83