#3F56C4#3F56C4
#3F56C4 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.0% C 0.173 H 270.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3F56C4 |
|---|---|
| RGB | rgb(63, 86, 196) |
| HSL | hsl(230, 53%, 51%) |
| HSV | hsv(230, 68%, 77%) |
| CMYK | cmyk(67.9%, 56.1%, 0%, 23.1%) |
| CIE-LAB | lab(40.73, 27.69, -60.17) |
| CIE-LCH | lch(40.73, 66.24, 294.71°) |
| OKLab | oklab(49.96% 0.0001 -0.1732) |
| OKLCH | oklch(49.96% 0.173 270) |
| XYZ | xyz(15.3381, 11.6964, 53.6632) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.80
Sapphire
#0F52BA
ΔE00 4.74
Azul
#1D5DEC
ΔE00 5.56
Iris
#6258C4
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 6.13
Blue (survey)
#0343DF
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F56C4 #C4AD3F
analogous
#3F98C4 #3F56C4 #6A3FC4
triadic
#3F56C4 #C43F56 #56C43F
tetradic
#3F56C4 #C43F98 #C4AD3F #3FC46A
square
#3F56C4 #C43F98 #C4AD3F #3FC46A
split-complementary
#3F56C4 #C46A3F #98C43F
monochromatic
#202D68 #2E4197 #3F56C4 #6E7FD2 #9DA8E1
Accessibility & contrast
On white
6.29
#3F56C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#3F56C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F56C4
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F56C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F56C4 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3f56c4; /* rgb */ color: rgb(63, 86, 196); /* oklch */ color: oklch(50.0% 0.173 270.0);
Tailwind
colors: {
custom: {
50: '#8485d7',
500: '#3f56c4',
950: '#000000',
},
}SCSS
$custom: #3f56c4; $custom-light: #8485d7; $custom-dark: #000000;
JSON
{
"hex": "#3f56c4",
"rgb": {
"r": 63,
"g": 86,
"b": 196
},
"hsl": {
"h": 229.624,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.49961,
"c": 0.17319,
"h": 270
},
"luminance": 0.11698
}Semantic roles & 50–950 ramp
primary
#3F56C4
secondary
#CDC392
accent
#C34BDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83