#4F56D0#4F56D0
#4F56D0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.185 H 275.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56D0 |
|---|---|
| RGB | rgb(79, 86, 208) |
| HSL | hsl(237, 58%, 56%) |
| HSV | hsv(237, 62%, 82%) |
| CMYK | cmyk(62%, 58.7%, 0%, 18.4%) |
| CIE-LAB | lab(42.57, 34.33, -64.08) |
| CIE-LCH | lch(42.57, 72.70, 298.18°) |
| OKLab | oklab(51.86% 0.0174 -0.1843) |
| OKLCH | oklch(51.86% 0.185 275.4) |
| XYZ | xyz(17.9337, 12.8705, 61.2015) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.52
Iris
#6258C4
ΔE00 3.50
Dark Periwinkle
#665FD1
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.50
Light Indigo
#6D5ACF
ΔE00 5.01
Azul
#1D5DEC
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56D0 #D0C94F
analogous
#4F97D0 #4F56D0 #894FD0
triadic
#4F56D0 #D04F56 #56D04F
tetradic
#4F56D0 #D04F97 #D0C94F #4FD089
square
#4F56D0 #D04F97 #D0C94F #4FD089
split-complementary
#4F56D0 #D0894F #97D04F
monochromatic
#232882 #3037B2 #4F56D0 #7F84DD #B0B3EA
Accessibility & contrast
On white
5.88
#4F56D0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#4F56D0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56D0
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56D0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56D0 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4f56d0; /* rgb */ color: rgb(79, 86, 208); /* oklch */ color: oklch(51.9% 0.185 275.4);
Tailwind
colors: {
custom: {
50: '#8d85df',
500: '#4f56d0',
950: '#000000',
},
}SCSS
$custom: #4f56d0; $custom-light: #8d85df; $custom-dark: #000000;
JSON
{
"hex": "#4f56d0",
"rgb": {
"r": 79,
"g": 86,
"b": 208
},
"hsl": {
"h": 236.744,
"s": 57.848,
"l": 56.275
},
"oklch": {
"l": 0.51861,
"c": 0.1851,
"h": 275.4
},
"luminance": 0.12872
}Semantic roles & 50–950 ramp
primary
#4F56D0
secondary
#D8D5A3
accent
#D947E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83