#4F5CDA#4F5CDA
#4F5CDA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.191 H 273.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5CDA |
|---|---|
| RGB | rgb(79, 92, 218) |
| HSL | hsl(234, 65%, 58%) |
| HSV | hsv(234, 64%, 85%) |
| CMYK | cmyk(63.8%, 57.8%, 0%, 14.5%) |
| CIE-LAB | lab(44.77, 33.98, -66.22) |
| CIE-LCH | lch(44.77, 74.43, 297.16°) |
| OKLab | oklab(53.73% 0.0121 -0.1905) |
| OKLCH | oklch(53.73% 0.191 273.6) |
| XYZ | xyz(19.7023, 14.3768, 68.0528) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.55
Dark Periwinkle
#665FD1
ΔE00 3.75
Azul
#1D5DEC
ΔE00 4.33
Iris
#6258C4
ΔE00 4.60
Slate Blue
#6A5ACD
ΔE00 4.86
Royal Blue
#4169E1
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5CDA #DACD4F
analogous
#4FA2DA #4F5CDA #874FDA
triadic
#4F5CDA #DA4F5C #5CDA4F
tetradic
#4F5CDA #DA4FA2 #DACD4F #4FDA87
square
#4F5CDA #DA4FA2 #DACD4F #4FDA87
split-complementary
#4F5CDA #DA874F #A2DA4F
monochromatic
#1E2990 #2937C3 #4F5CDA #828BE5 #B4BAEF
Accessibility & contrast
On white
5.42
#4F5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#4F5CDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5CDA
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5CDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5CDA | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4f5cda; /* rgb */ color: rgb(79, 92, 218); /* oklch */ color: oklch(53.7% 0.191 273.6);
Tailwind
colors: {
custom: {
50: '#8f8ae6',
500: '#4f5cda',
950: '#000000',
},
}SCSS
$custom: #4f5cda; $custom-light: #8f8ae6; $custom-dark: #000000;
JSON
{
"hex": "#4f5cda",
"rgb": {
"r": 79,
"g": 92,
"b": 218
},
"hsl": {
"h": 234.388,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.53727,
"c": 0.19093,
"h": 273.6
},
"luminance": 0.14379
}Semantic roles & 50–950 ramp
primary
#4F5CDA
secondary
#DED9A7
accent
#D840E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84