#3F56D9#3F56D9
#3F56D9 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.7% C 0.201 H 270.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3F56D9 |
|---|---|
| RGB | rgb(63, 86, 217) |
| HSL | hsl(231, 67%, 55%) |
| HSV | hsv(231, 71%, 85%) |
| CMYK | cmyk(71%, 60.4%, 0%, 14.9%) |
| CIE-LAB | lab(42.34, 35.13, -69.65) |
| CIE-LCH | lch(42.34, 78.01, 296.76°) |
| OKLab | oklab(51.66% 0.0004 -0.201) |
| OKLCH | oklch(51.66% 0.201 270.1) |
| XYZ | xyz(17.8978, 12.7203, 67.1442) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.52
Azul
#1D5DEC
ΔE00 3.89
Electric Blue
#0652FF
ΔE00 4.34
Iris
#6258C4
ΔE00 5.60
Blue (survey)
#0343DF
ΔE00 5.80
Dark Periwinkle
#665FD1
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F56D9 #D9C23F
analogous
#3FA3D9 #3F56D9 #753FD9
triadic
#3F56D9 #D93F56 #56D93F
tetradic
#3F56D9 #D93FA3 #D9C23F #3FD975
square
#3F56D9 #D93FA3 #D9C23F #3FD975
split-complementary
#3F56D9 #D9753F #A3D93F
monochromatic
#1A2A84 #243AB7 #3F56D9 #7283E3 #A5B0ED
Accessibility & contrast
On white
5.92
#3F56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#3F56D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F56D9
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F56D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F56D9 | 1.00 | 5.92 | 3.54 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3f56d9; /* rgb */ color: rgb(63, 86, 217); /* oklch */ color: oklch(51.7% 0.201 270.1);
Tailwind
colors: {
custom: {
50: '#8885e6',
500: '#3f56d9',
950: '#000000',
},
}SCSS
$custom: #3f56d9; $custom-light: #8885e6; $custom-dark: #000000;
JSON
{
"hex": "#3f56d9",
"rgb": {
"r": 63,
"g": 86,
"b": 217
},
"hsl": {
"h": 231.039,
"s": 66.957,
"l": 54.902
},
"oklch": {
"l": 0.51664,
"c": 0.20104,
"h": 270.1
},
"luminance": 0.12722
}Semantic roles & 50–950 ramp
primary
#3F56D9
secondary
#DAD19A
accent
#D03EEA
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84