#4F56CF#4F56CF
#4F56CF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.184 H 275.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56CF |
|---|---|
| RGB | rgb(79, 86, 207) |
| HSL | hsl(237, 57%, 56%) |
| HSV | hsv(237, 62%, 81%) |
| CMYK | cmyk(61.8%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(42.49, 34.00, -63.62) |
| CIE-LCH | lch(42.49, 72.14, 298.12°) |
| OKLab | oklab(51.78% 0.0174 -0.183) |
| OKLCH | oklch(51.78% 0.184 275.4) |
| XYZ | xyz(17.8110, 12.8214, 60.5556) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.64
Iris
#6258C4
ΔE00 3.46
Dark Periwinkle
#665FD1
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.51
Light Indigo
#6D5ACF
ΔE00 5.04
Azul
#1D5DEC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56CF #CFC84F
analogous
#4F96CF #4F56CF #884FCF
triadic
#4F56CF #CF4F56 #56CF4F
tetradic
#4F56CF #CF4F96 #CFC84F #4FCF88
square
#4F56CF #CF4F96 #CFC84F #4FCF88
split-complementary
#4F56CF #CF884F #96CF4F
monochromatic
#232881 #3037B1 #4F56CF #7F84DC #AFB2E9
Accessibility & contrast
On white
5.89
#4F56CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#4F56CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56CF
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56CF | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4f56cf; /* rgb */ color: rgb(79, 86, 207); /* oklch */ color: oklch(51.8% 0.184 275.4);
Tailwind
colors: {
custom: {
50: '#8d85df',
500: '#4f56cf',
950: '#000000',
},
}SCSS
$custom: #4f56cf; $custom-light: #8d85df; $custom-dark: #000000;
JSON
{
"hex": "#4f56cf",
"rgb": {
"r": 79,
"g": 86,
"b": 207
},
"hsl": {
"h": 236.719,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.51782,
"c": 0.18378,
"h": 275.4
},
"luminance": 0.12823
}Semantic roles & 50–950 ramp
primary
#4F56CF
secondary
#D7D4A2
accent
#D847E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83