#4F5CDC#4F5CDC
#4F5CDC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.194 H 273.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5CDC |
|---|---|
| RGB | rgb(79, 92, 220) |
| HSL | hsl(234, 67%, 59%) |
| HSV | hsv(234, 64%, 86%) |
| CMYK | cmyk(64.1%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(44.92, 34.65, -67.12) |
| CIE-LCH | lch(44.92, 75.54, 297.31°) |
| OKLab | oklab(53.88% 0.0121 -0.1932) |
| OKLCH | oklch(53.88% 0.194 273.6) |
| XYZ | xyz(19.9656, 14.4821, 69.4394) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.58
Dark Periwinkle
#665FD1
ΔE00 3.79
Azul
#1D5DEC
ΔE00 4.27
Iris
#6258C4
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 4.90
Royal Blue
#4169E1
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5CDC #DCCF4F
analogous
#4FA2DC #4F5CDC #884FDC
triadic
#4F5CDC #DC4F5C #5CDC4F
tetradic
#4F5CDC #DC4FA2 #DCCF4F #4FDC88
square
#4F5CDC #DC4FA2 #DCCF4F #4FDC88
split-complementary
#4F5CDC #DC884F #A2DC4F
monochromatic
#1D2893 #2736C6 #4F5CDC #828BE6 #B5BBF0
Accessibility & contrast
On white
5.39
#4F5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#4F5CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5CDC
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5CDC | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4f5cdc; /* rgb */ color: rgb(79, 92, 220); /* oklch */ color: oklch(53.9% 0.194 273.6);
Tailwind
colors: {
custom: {
50: '#8f8ae8',
500: '#4f5cdc',
950: '#000000',
},
}SCSS
$custom: #4f5cdc; $custom-light: #8f8ae8; $custom-dark: #000000;
JSON
{
"hex": "#4f5cdc",
"rgb": {
"r": 79,
"g": 92,
"b": 220
},
"hsl": {
"h": 234.468,
"s": 66.825,
"l": 58.627
},
"oklch": {
"l": 0.53884,
"c": 0.19357,
"h": 273.6
},
"luminance": 0.14484
}Semantic roles & 50–950 ramp
primary
#4F5CDC
secondary
#DFDAA8
accent
#DA3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84