#4F5FC5#4F5FC5
#4F5FC5 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.159 H 273.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FC5 |
|---|---|
| RGB | rgb(79, 95, 197) |
| HSL | hsl(232, 50%, 54%) |
| HSV | hsv(232, 60%, 77%) |
| CMYK | cmyk(59.9%, 51.8%, 0%, 22.7%) |
| CIE-LAB | lab(44.06, 25.00, -55.33) |
| CIE-LCH | lch(44.06, 60.71, 294.32°) |
| OKLab | oklab(52.73% 0.0084 -0.1584) |
| OKLCH | oklch(52.73% 0.159 273) |
| XYZ | xyz(17.3914, 13.8765, 54.5745) |
| Luminance | 0.1388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.92
Dark Periwinkle
#665FD1
ΔE00 4.55
Iris
#6258C4
ΔE00 4.63
Royal Blue
#4169E1
ΔE00 5.37
Azul
#1D5DEC
ΔE00 5.63
Slate Blue
#6A5ACD
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FC5 #C5B54F
analogous
#4F9AC5 #4F5FC5 #7A4FC5
triadic
#4F5FC5 #C54F5F #5FC54F
tetradic
#4F5FC5 #C54F9A #C5B54F #4FC57A
square
#4F5FC5 #C54F9A #C5B54F #4FC57A
split-complementary
#4F5FC5 #C57A4F #9AC54F
monochromatic
#263174 #3544A2 #4F5FC5 #7D89D4 #ABB3E3
Accessibility & contrast
On white
5.56
#4F5FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#4F5FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FC5
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FC5 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246DC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4f5fc5; /* rgb */ color: rgb(79, 95, 197); /* oklch */ color: oklch(52.7% 0.159 273.0);
Tailwind
colors: {
custom: {
50: '#8b8cd7',
500: '#4f5fc5',
950: '#000000',
},
}SCSS
$custom: #4f5fc5; $custom-light: #8b8cd7; $custom-dark: #000000;
JSON
{
"hex": "#4f5fc5",
"rgb": {
"r": 79,
"g": 95,
"b": 197
},
"hsl": {
"h": 231.864,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.52728,
"c": 0.15867,
"h": 273
},
"luminance": 0.13878
}Semantic roles & 50–950 ramp
primary
#4F5FC5
secondary
#D1CA9F
accent
#C74EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83