#3F56C7#3F56C7
#3F56C7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.177 H 270.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #3F56C7 |
|---|---|
| RGB | rgb(63, 86, 199) |
| HSL | hsl(230, 55%, 51%) |
| HSV | hsv(230, 68%, 78%) |
| CMYK | cmyk(68.3%, 56.8%, 0%, 22%) |
| CIE-LAB | lab(40.95, 28.76, -61.55) |
| CIE-LCH | lch(40.95, 67.94, 295.05°) |
| OKLab | oklab(50.2% 0.0003 -0.1772) |
| OKLCH | oklch(50.2% 0.177 270.1) |
| XYZ | xyz(15.6830, 11.8343, 55.4795) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.42
Sapphire
#0F52BA
ΔE00 4.96
Azul
#1D5DEC
ΔE00 5.26
Iris
#6258C4
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 6.12
Blue (survey)
#0343DF
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F56C7 #C7B03F
analogous
#3F9AC7 #3F56C7 #6C3FC7
triadic
#3F56C7 #C73F56 #56C73F
tetradic
#3F56C7 #C73F9A #C7B03F #3FC76C
square
#3F56C7 #C73F9A #C7B03F #3FC76C
split-complementary
#3F56C7 #C76C3F #9AC73F
monochromatic
#202C6C #2D409B #3F56C7 #6E80D5 #9EA9E3
Accessibility & contrast
On white
6.24
#3F56C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#3F56C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F56C7
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F56C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F56C7 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #3f56c7; /* rgb */ color: rgb(63, 86, 199); /* oklch */ color: oklch(50.2% 0.177 270.1);
Tailwind
colors: {
custom: {
50: '#8485d9',
500: '#3f56c7',
950: '#000000',
},
}SCSS
$custom: #3f56c7; $custom-light: #8485d9; $custom-dark: #000000;
JSON
{
"hex": "#3f56c7",
"rgb": {
"r": 63,
"g": 86,
"b": 199
},
"hsl": {
"h": 229.853,
"s": 54.839,
"l": 51.373
},
"oklch": {
"l": 0.50197,
"c": 0.17725,
"h": 270.1
},
"luminance": 0.11836
}Semantic roles & 50–950 ramp
primary
#3F56C7
secondary
#CFC593
accent
#C54ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83