#4F5CDF#4F5CDF
#4F5CDF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.198 H 273.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5CDF |
|---|---|
| RGB | rgb(79, 92, 223) |
| HSL | hsl(235, 69%, 59%) |
| HSV | hsv(235, 65%, 87%) |
| CMYK | cmyk(64.6%, 58.7%, 0%, 12.5%) |
| CIE-LAB | lab(45.14, 35.66, -68.46) |
| CIE-LCH | lch(45.14, 77.20, 297.52°) |
| OKLab | oklab(54.12% 0.0121 -0.1971) |
| OKLCH | oklch(54.12% 0.198 273.5) |
| XYZ | xyz(20.3665, 14.6425, 71.5507) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.69
Dark Periwinkle
#665FD1
ΔE00 3.87
Azul
#1D5DEC
ΔE00 4.20
Iris
#6258C4
ΔE00 4.98
Slate Blue
#6A5ACD
ΔE00 5.00
Electric Blue
#0652FF
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5CDF #DFD24F
analogous
#4FA4DF #4F5CDF #8A4FDF
triadic
#4F5CDF #DF4F5C #5CDF4F
tetradic
#4F5CDF #DF4FA4 #DFD24F #4FDF8A
square
#4F5CDF #DF4FA4 #DFD24F #4FDF8A
split-complementary
#4F5CDF #DF8A4F #A4DF4F
monochromatic
#1C2798 #2534CC #4F5CDF #838CE8 #B7BCF2
Accessibility & contrast
On white
5.35
#4F5CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#4F5CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5CDF
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5CDF | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4f5cdf; /* rgb */ color: rgb(79, 92, 223); /* oklch */ color: oklch(54.1% 0.198 273.5);
Tailwind
colors: {
custom: {
50: '#908aea',
500: '#4f5cdf',
950: '#000000',
},
}SCSS
$custom: #4f5cdf; $custom-light: #908aea; $custom-dark: #000000;
JSON
{
"hex": "#4f5cdf",
"rgb": {
"r": 79,
"g": 92,
"b": 223
},
"hsl": {
"h": 234.583,
"s": 69.231,
"l": 59.216
},
"oklch": {
"l": 0.5412,
"c": 0.1975,
"h": 273.5
},
"luminance": 0.14644
}Semantic roles & 50–950 ramp
primary
#4F5CDF
secondary
#E1DCA9
accent
#DC3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84