#4F56BC#4F56BC
#4F56BC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.158 H 276.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56BC |
|---|---|
| RGB | rgb(79, 86, 188) |
| HSL | hsl(236, 45%, 52%) |
| HSV | hsv(236, 58%, 74%) |
| CMYK | cmyk(58%, 54.3%, 0%, 26.3%) |
| CIE-LAB | lab(41.13, 27.65, -54.81) |
| CIE-LCH | lch(41.13, 61.39, 296.77°) |
| OKLab | oklab(50.34% 0.017 -0.157) |
| OKLCH | oklch(50.34% 0.158 276.2) |
| XYZ | xyz(15.6264, 11.9475, 49.0499) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.58
Warm Blue
#4B57DB
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 5.40
Dark Periwinkle
#665FD1
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 6.02
Ocean Blue
#4F42B5
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56BC #BCB54F
analogous
#4F8CBC #4F56BC #7F4FBC
triadic
#4F56BC #BC4F56 #56BC4F
tetradic
#4F56BC #BC4F8C #BCB54F #4FBC7F
square
#4F56BC #BC4F8C #BCB54F #4FBC7F
split-complementary
#4F56BC #BC7F4F #8CBC4F
monochromatic
#282C69 #393F95 #4F56BC #7B81CD #A8ABDE
Accessibility & contrast
On white
6.20
#4F56BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#4F56BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56BC
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56BC | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#046E80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4f56bc; /* rgb */ color: rgb(79, 86, 188); /* oklch */ color: oklch(50.3% 0.158 276.2);
Tailwind
colors: {
custom: {
50: '#8a85d1',
500: '#4f56bc',
950: '#000000',
},
}SCSS
$custom: #4f56bc; $custom-light: #8a85d1; $custom-dark: #000000;
JSON
{
"hex": "#4f56bc",
"rgb": {
"r": 79,
"g": 86,
"b": 188
},
"hsl": {
"h": 236.147,
"s": 44.856,
"l": 52.353
},
"oklch": {
"l": 0.50339,
"c": 0.15796,
"h": 276.2
},
"luminance": 0.11949
}Semantic roles & 50–950 ramp
primary
#4F56BC
secondary
#CBC89C
accent
#CC53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82