#3F51CF#3F51CF
#3F51CF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.194 H 271.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3F51CF |
|---|---|
| RGB | rgb(63, 81, 207) |
| HSL | hsl(233, 60%, 53%) |
| HSV | hsv(233, 70%, 81%) |
| CMYK | cmyk(69.6%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(40.32, 34.75, -67.20) |
| CIE-LCH | lch(40.32, 75.66, 297.35°) |
| OKLab | oklab(49.92% 0.0042 -0.1939) |
| OKLCH | oklch(49.92% 0.194 271.2) |
| XYZ | xyz(16.2510, 11.4450, 60.3721) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.85
Blue (survey)
#0343DF
ΔE00 4.68
Blue Blue
#2242C7
ΔE00 4.90
Iris
#6258C4
ΔE00 5.45
Electric Blue
#0652FF
ΔE00 5.59
Azul
#1D5DEC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F51CF #CFBD3F
analogous
#3F99CF #3F51CF #753FCF
triadic
#3F51CF #CF3F51 #51CF3F
tetradic
#3F51CF #CF3F99 #CFBD3F #3FCF75
square
#3F51CF #CF3F99 #CFBD3F #3FCF75
split-complementary
#3F51CF #CF753F #99CF3F
monochromatic
#1E2976 #2A39A7 #3F51CF #707DDB #A1AAE7
Accessibility & contrast
On white
6.38
#3F51CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#3F51CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F51CF
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F51CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F51CF | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0059CD
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3f51cf; /* rgb */ color: rgb(63, 81, 207); /* oklch */ color: oklch(49.9% 0.194 271.2);
Tailwind
colors: {
custom: {
50: '#8681df',
500: '#3f51cf',
950: '#000000',
},
}SCSS
$custom: #3f51cf; $custom-light: #8681df; $custom-dark: #000000;
JSON
{
"hex": "#3f51cf",
"rgb": {
"r": 63,
"g": 81,
"b": 207
},
"hsl": {
"h": 232.5,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.49922,
"c": 0.19396,
"h": 271.2
},
"luminance": 0.11447
}Semantic roles & 50–950 ramp
primary
#3F51CF
secondary
#D4CC96
accent
#CF45E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83