#3F4ED6#3F4ED6
#3F4ED6 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.0% C 0.207 H 271.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4ED6 |
|---|---|
| RGB | rgb(63, 78, 214) |
| HSL | hsl(234, 65%, 54%) |
| HSV | hsv(234, 71%, 84%) |
| CMYK | cmyk(70.6%, 63.6%, 0%, 16.1%) |
| CIE-LAB | lab(40.18, 39.05, -71.46) |
| CIE-LCH | lch(40.18, 81.44, 298.66°) |
| OKLab | oklab(50% 0.006 -0.2064) |
| OKLCH | oklch(50% 0.207 271.7) |
| XYZ | xyz(16.9078, 11.3589, 64.9067) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.98
Blue (survey)
#0343DF
ΔE00 3.92
Blue Blue
#2242C7
ΔE00 4.66
Electric Blue
#0652FF
ΔE00 5.05
Iris
#6258C4
ΔE00 5.77
Azul
#1D5DEC
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4ED6 #D6C73F
analogous
#3F99D6 #3F4ED6 #7C3FD6
triadic
#3F4ED6 #D63F4E #4ED63F
tetradic
#3F4ED6 #D63F99 #D6C73F #3FD67C
square
#3F4ED6 #D63F99 #D6C73F #3FD67C
split-complementary
#3F4ED6 #D67C3F #99D63F
monochromatic
#1B257F #2634B2 #3F4ED6 #717CE1 #A4ABEC
Accessibility & contrast
On white
6.42
#3F4ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#3F4ED6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F4ED6
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4ED6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4ED6 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#0058D3
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3f4ed6; /* rgb */ color: rgb(63, 78, 214); /* oklch */ color: oklch(50.0% 0.207 271.7);
Tailwind
colors: {
custom: {
50: '#887fe4',
500: '#3f4ed6',
950: '#000000',
},
}SCSS
$custom: #3f4ed6; $custom-light: #887fe4; $custom-dark: #000000;
JSON
{
"hex": "#3f4ed6",
"rgb": {
"r": 63,
"g": 78,
"b": 214
},
"hsl": {
"h": 234.04,
"s": 64.807,
"l": 54.314
},
"oklch": {
"l": 0.49995,
"c": 0.20652,
"h": 271.7
},
"luminance": 0.11361
}Semantic roles & 50–950 ramp
primary
#3F4ED6
secondary
#D8D298
accent
#D740E8
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84