#4F56CE#4F56CE
#4F56CE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.182 H 275.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56CE |
|---|---|
| RGB | rgb(79, 86, 206) |
| HSL | hsl(237, 56%, 56%) |
| HSV | hsv(237, 62%, 81%) |
| CMYK | cmyk(61.7%, 58.3%, 0%, 19.2%) |
| CIE-LAB | lab(42.42, 33.66, -63.17) |
| CIE-LCH | lch(42.42, 71.58, 298.05°) |
| OKLab | oklab(51.7% 0.0174 -0.1816) |
| OKLCH | oklch(51.7% 0.182 275.5) |
| XYZ | xyz(17.6892, 12.7727, 59.9137) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.77
Iris
#6258C4
ΔE00 3.42
Dark Periwinkle
#665FD1
ΔE00 4.36
Slate Blue
#6A5ACD
ΔE00 4.53
Light Indigo
#6D5ACF
ΔE00 5.06
Azul
#1D5DEC
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56CE #CEC74F
analogous
#4F95CE #4F56CE #874FCE
triadic
#4F56CE #CE4F56 #56CE4F
tetradic
#4F56CE #CE4F95 #CEC74F #4FCE87
square
#4F56CE #CE4F95 #CEC74F #4FCE87
split-complementary
#4F56CE #CE874F #95CE4F
monochromatic
#23287F #3138AF #4F56CE #7F84DB #AFB2E9
Accessibility & contrast
On white
5.91
#4F56CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#4F56CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56CE
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56CE | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4f56ce; /* rgb */ color: rgb(79, 86, 206); /* oklch */ color: oklch(51.7% 0.182 275.5);
Tailwind
colors: {
custom: {
50: '#8d85de',
500: '#4f56ce',
950: '#000000',
},
}SCSS
$custom: #4f56ce; $custom-light: #8d85de; $custom-dark: #000000;
JSON
{
"hex": "#4f56ce",
"rgb": {
"r": 79,
"g": 86,
"b": 206
},
"hsl": {
"h": 236.693,
"s": 56.444,
"l": 55.882
},
"oklch": {
"l": 0.51704,
"c": 0.18245,
"h": 275.5
},
"luminance": 0.12774
}Semantic roles & 50–950 ramp
primary
#4F56CE
secondary
#D7D4A2
accent
#D748E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83