#3F46C6#3F46C6
#3F46C6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.195 H 273.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3F46C6 |
|---|---|
| RGB | rgb(63, 70, 198) |
| HSL | hsl(237, 54%, 51%) |
| HSV | hsv(237, 68%, 78%) |
| CMYK | cmyk(68.2%, 64.6%, 0%, 22.4%) |
| CIE-LAB | lab(36.95, 38.48, -67.49) |
| CIE-LCH | lch(36.95, 77.69, 299.69°) |
| OKLab | oklab(47.22% 0.0127 -0.1948) |
| OKLCH | oklch(47.22% 0.195 273.7) |
| XYZ | xyz(14.4297, 9.5130, 54.4909) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.65
Ocean Blue
#4F42B5
ΔE00 3.46
Blue (survey)
#0343DF
ΔE00 3.80
Blue With A Hint Of Purple
#533CC6
ΔE00 4.06
Blurple
#5539CC
ΔE00 4.80
Bluey Purple
#6241C7
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F46C6 #C6BF3F
analogous
#3F89C6 #3F46C6 #7B3FC6
triadic
#3F46C6 #C63F46 #46C63F
tetradic
#3F46C6 #C63F89 #C6BF3F #3FC67B
square
#3F46C6 #C63F89 #C6BF3F #3FC67B
split-complementary
#3F46C6 #C67B3F #89C63F
monochromatic
#20246B #2E339A #3F46C6 #6E73D4 #9DA1E2
Accessibility & contrast
On white
7.23
#3F46C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#3F46C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F46C6
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F46C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F46C6 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3f46c6; /* rgb */ color: rgb(63, 70, 198); /* oklch */ color: oklch(47.2% 0.195 273.7);
Tailwind
colors: {
custom: {
50: '#857ad8',
500: '#3f46c6',
950: '#000000',
},
}SCSS
$custom: #3f46c6; $custom-light: #857ad8; $custom-dark: #000000;
JSON
{
"hex": "#3f46c6",
"rgb": {
"r": 63,
"g": 70,
"b": 198
},
"hsl": {
"h": 236.889,
"s": 54.217,
"l": 51.176
},
"oklch": {
"l": 0.47217,
"c": 0.19524,
"h": 273.7
},
"luminance": 0.09514
}Semantic roles & 50–950 ramp
primary
#3F46C6
secondary
#CECB93
accent
#D64ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83