#4F56D9#4F56D9
#4F56D9 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.197 H 275.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56D9 |
|---|---|
| RGB | rgb(79, 86, 217) |
| HSL | hsl(237, 64%, 58%) |
| HSV | hsv(237, 64%, 85%) |
| CMYK | cmyk(63.6%, 60.4%, 0%, 14.9%) |
| CIE-LAB | lab(43.25, 37.34, -68.12) |
| CIE-LCH | lch(43.25, 77.68, 298.72°) |
| OKLab | oklab(52.58% 0.0172 -0.1962) |
| OKLCH | oklch(52.58% 0.197 275) |
| XYZ | xyz(19.0725, 13.3260, 67.1993) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.68
Iris
#6258C4
ΔE00 4.07
Dark Periwinkle
#665FD1
ΔE00 4.25
Slate Blue
#6A5ACD
ΔE00 4.56
Light Indigo
#6D5ACF
ΔE00 4.97
Electric Blue
#0652FF
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56D9 #D9D24F
analogous
#4F9BD9 #4F56D9 #8D4FD9
triadic
#4F56D9 #D94F56 #56D94F
tetradic
#4F56D9 #D94F9B #D9D24F #4FD98D
square
#4F56D9 #D94F9B #D9D24F #4FD98D
split-complementary
#4F56D9 #D98D4F #9BD94F
monochromatic
#1F258F #2A31C1 #4F56D9 #8186E4 #B4B7EF
Accessibility & contrast
On white
5.73
#4F56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#4F56D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56D9
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56D9 | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f56d9; /* rgb */ color: rgb(79, 86, 217); /* oklch */ color: oklch(52.6% 0.197 275.0);
Tailwind
colors: {
custom: {
50: '#8f85e6',
500: '#4f56d9',
950: '#000000',
},
}SCSS
$custom: #4f56d9; $custom-light: #8f85e6; $custom-dark: #000000;
JSON
{
"hex": "#4f56d9",
"rgb": {
"r": 79,
"g": 86,
"b": 217
},
"hsl": {
"h": 236.957,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.5258,
"c": 0.19694,
"h": 275
},
"luminance": 0.13328
}Semantic roles & 50–950 ramp
primary
#4F56D9
secondary
#DDDBA6
accent
#DF40E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84