#3F56AB#3F56AB
#3F56AB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.138 H 269.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3F56AB |
|---|---|
| RGB | rgb(63, 86, 171) |
| HSL | hsl(227, 46%, 46%) |
| HSV | hsv(227, 63%, 67%) |
| CMYK | cmyk(63.2%, 49.7%, 0%, 32.9%) |
| CIE-LAB | lab(38.99, 18.78, -48.32) |
| CIE-LCH | lch(38.99, 51.84, 291.24°) |
| OKLab | oklab(48.09% -0.0018 -0.1383) |
| OKLCH | oklch(48.09% 0.138 269.3) |
| XYZ | xyz(12.7259, 10.6515, 39.9055) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.32
Denim Blue
#3B5B92
ΔE00 4.48
Dusky Blue
#475F94
ΔE00 4.76
Cobalt
#0047AB
ΔE00 6.01
Dusk Blue
#26538D
ΔE00 6.12
Denim
#1560BD
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F56AB #AB943F
analogous
#3F8CAB #3F56AB #5E3FAB
triadic
#3F56AB #AB3F56 #56AB3F
tetradic
#3F56AB #AB3F8C #AB943F #3FAB5E
square
#3F56AB #AB3F8C #AB943F #3FAB5E
split-complementary
#3F56AB #AB5E3F #8CAB3F
monochromatic
#1E2952 #2F407E #3F56AB #6277C5 #8F9ED6
Accessibility & contrast
On white
6.71
#3F56AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#3F56AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F56AB
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F56AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F56AB | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2961AE
Deuteranopia (green-blind)
#1157A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3f56ab; /* rgb */ color: rgb(63, 86, 171); /* oklch */ color: oklch(48.1% 0.138 269.3);
Tailwind
colors: {
custom: {
50: '#7f85c4',
500: '#3f56ab',
950: '#000000',
},
}SCSS
$custom: #3f56ab; $custom-light: #7f85c4; $custom-dark: #000000;
JSON
{
"hex": "#3f56ab",
"rgb": {
"r": 63,
"g": 86,
"b": 171
},
"hsl": {
"h": 227.222,
"s": 46.154,
"l": 45.882
},
"oklch": {
"l": 0.48093,
"c": 0.13834,
"h": 269.3
},
"luminance": 0.10653
}Semantic roles & 50–950 ramp
primary
#3F56AB
secondary
#C1B485
accent
#BA52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82