#3F51CC#3F51CC
#3F51CC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.7% C 0.190 H 271.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3F51CC |
|---|---|
| RGB | rgb(63, 81, 204) |
| HSL | hsl(232, 58%, 52%) |
| HSV | hsv(232, 69%, 80%) |
| CMYK | cmyk(69.1%, 60.3%, 0%, 20%) |
| CIE-LAB | lab(40.08, 33.70, -65.86) |
| CIE-LCH | lch(40.08, 73.98, 297.10°) |
| OKLab | oklab(49.67% 0.0043 -0.19) |
| OKLCH | oklch(49.67% 0.19 271.3) |
| XYZ | xyz(15.8877, 11.2997, 58.4588) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.14
Blue Blue
#2242C7
ΔE00 4.79
Blue (survey)
#0343DF
ΔE00 4.80
Iris
#6258C4
ΔE00 5.45
Sapphire
#0F52BA
ΔE00 5.75
Azul
#1D5DEC
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F51CC #CCBA3F
analogous
#3F98CC #3F51CC #733FCC
triadic
#3F51CC #CC3F51 #51CC3F
tetradic
#3F51CC #CC3F98 #CCBA3F #3FCC73
square
#3F51CC #CC3F98 #CCBA3F #3FCC73
split-complementary
#3F51CC #CC733F #98CC3F
monochromatic
#1E2972 #2B3AA3 #3F51CC #6F7DD9 #A0A9E6
Accessibility & contrast
On white
6.44
#3F51CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#3F51CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F51CC
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F51CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F51CC | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3f51cc; /* rgb */ color: rgb(63, 81, 204); /* oklch */ color: oklch(49.7% 0.190 271.3);
Tailwind
colors: {
custom: {
50: '#8581dc',
500: '#3f51cc',
950: '#000000',
},
}SCSS
$custom: #3f51cc; $custom-light: #8581dc; $custom-dark: #000000;
JSON
{
"hex": "#3f51cc",
"rgb": {
"r": 63,
"g": 81,
"b": 204
},
"hsl": {
"h": 232.34,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.4967,
"c": 0.19002,
"h": 271.3
},
"luminance": 0.11301
}Semantic roles & 50–950 ramp
primary
#3F51CC
secondary
#D2CA95
accent
#CE47E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83