#3F46C4#3F46C4
#3F46C4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.193 H 273.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3F46C4 |
|---|---|
| RGB | rgb(63, 70, 196) |
| HSL | hsl(237, 53%, 51%) |
| HSV | hsv(237, 68%, 77%) |
| CMYK | cmyk(67.9%, 64.3%, 0%, 23.1%) |
| CIE-LAB | lab(36.78, 37.80, -66.60) |
| CIE-LCH | lch(36.78, 76.58, 299.58°) |
| OKLab | oklab(47.04% 0.0128 -0.1922) |
| OKLCH | oklch(47.04% 0.193 273.8) |
| XYZ | xyz(14.2005, 9.4213, 53.2840) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.62
Ocean Blue
#4F42B5
ΔE00 3.33
Blue (survey)
#0343DF
ΔE00 3.97
Blue With A Hint Of Purple
#533CC6
ΔE00 4.12
Blurple
#5539CC
ΔE00 4.90
Bluey Purple
#6241C7
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F46C4 #C4BD3F
analogous
#3F88C4 #3F46C4 #7A3FC4
triadic
#3F46C4 #C43F46 #46C43F
tetradic
#3F46C4 #C43F88 #C4BD3F #3FC47A
square
#3F46C4 #C43F88 #C4BD3F #3FC47A
split-complementary
#3F46C4 #C47A3F #88C43F
monochromatic
#202468 #2E3497 #3F46C4 #6E73D2 #9DA0E1
Accessibility & contrast
On white
7.28
#3F46C4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#3F46C4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F46C4
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F46C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F46C4 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3f46c4; /* rgb */ color: rgb(63, 70, 196); /* oklch */ color: oklch(47.0% 0.193 273.8);
Tailwind
colors: {
custom: {
50: '#857ad7',
500: '#3f46c4',
950: '#000000',
},
}SCSS
$custom: #3f46c4; $custom-light: #857ad7; $custom-dark: #000000;
JSON
{
"hex": "#3f46c4",
"rgb": {
"r": 63,
"g": 70,
"b": 196
},
"hsl": {
"h": 236.842,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.4704,
"c": 0.19266,
"h": 273.8
},
"luminance": 0.09423
}Semantic roles & 50–950 ramp
primary
#3F46C4
secondary
#CDCA92
accent
#D54BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83