#4F56BF#4F56BF
#4F56BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.162 H 276.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56BF |
|---|---|
| RGB | rgb(79, 86, 191) |
| HSL | hsl(236, 47%, 53%) |
| HSV | hsv(236, 59%, 75%) |
| CMYK | cmyk(58.6%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(41.34, 28.65, -56.23) |
| CIE-LCH | lch(41.34, 63.11, 297.00°) |
| OKLab | oklab(50.56% 0.0171 -0.1612) |
| OKLCH | oklch(50.56% 0.162 276.1) |
| XYZ | xyz(15.9532, 12.0783, 50.7708) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.42
Warm Blue
#4B57DB
ΔE00 3.81
Slate Blue
#6A5ACD
ΔE00 5.18
Dark Periwinkle
#665FD1
ΔE00 5.19
Light Indigo
#6D5ACF
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56BF #BFB84F
analogous
#4F8EBF #4F56BF #804FBF
triadic
#4F56BF #BF4F56 #56BF4F
tetradic
#4F56BF #BF4F8E #BFB84F #4FBF80
square
#4F56BF #BF4F8E #BFB84F #4FBF80
split-complementary
#4F56BF #BF804F #8EBF4F
monochromatic
#272C6C #383E99 #4F56BF #7C81CF #A9ACE0
Accessibility & contrast
On white
6.15
#4F56BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#4F56BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56BF
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56BF | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A66C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4f56bf; /* rgb */ color: rgb(79, 86, 191); /* oklch */ color: oklch(50.6% 0.162 276.1);
Tailwind
colors: {
custom: {
50: '#8a85d3',
500: '#4f56bf',
950: '#000000',
},
}SCSS
$custom: #4f56bf; $custom-light: #8a85d3; $custom-dark: #000000;
JSON
{
"hex": "#4f56bf",
"rgb": {
"r": 79,
"g": 86,
"b": 191
},
"hsl": {
"h": 236.25,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.5056,
"c": 0.16211,
"h": 276.1
},
"luminance": 0.12079
}Semantic roles & 50–950 ramp
primary
#4F56BF
secondary
#CDCA9D
accent
#CE51D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83