#4F5CE3#4F5CE3
#4F5CE3 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.4% C 0.203 H 273.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5CE3 |
|---|---|
| RGB | rgb(79, 92, 227) |
| HSL | hsl(235, 73%, 60%) |
| HSV | hsv(235, 65%, 89%) |
| CMYK | cmyk(65.2%, 59.5%, 0%, 11%) |
| CIE-LAB | lab(45.44, 37.01, -70.24) |
| CIE-LCH | lch(45.44, 79.39, 297.78°) |
| OKLab | oklab(54.44% 0.012 -0.2023) |
| OKLCH | oklch(54.44% 0.203 273.4) |
| XYZ | xyz(20.9121, 14.8607, 74.4245) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.97
Dark Periwinkle
#665FD1
ΔE00 4.04
Azul
#1D5DEC
ΔE00 4.18
Electric Blue
#0652FF
ΔE00 4.78
Royal Blue
#4169E1
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5CE3 #E3D64F
analogous
#4FA6E3 #4F5CE3 #8C4FE3
triadic
#4F5CE3 #E34F5C #5CE34F
tetradic
#4F5CE3 #E34FA6 #E3D64F #4FE38C
square
#4F5CE3 #E34FA6 #E3D64F #4FE38C
split-complementary
#4F5CE3 #E38C4F #A6E34F
monochromatic
#19259E #2231D3 #4F5CE3 #848DEB #B9BEF4
Accessibility & contrast
On white
5.29
#4F5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#4F5CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5CE3
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5CE3 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4f5ce3; /* rgb */ color: rgb(79, 92, 227); /* oklch */ color: oklch(54.4% 0.203 273.4);
Tailwind
colors: {
custom: {
50: '#908aed',
500: '#4f5ce3',
950: '#000000',
},
}SCSS
$custom: #4f5ce3; $custom-light: #908aed; $custom-dark: #000000;
JSON
{
"hex": "#4f5ce3",
"rgb": {
"r": 79,
"g": 92,
"b": 227
},
"hsl": {
"h": 234.73,
"s": 72.549,
"l": 60
},
"oklch": {
"l": 0.54438,
"c": 0.20271,
"h": 273.4
},
"luminance": 0.14863
}Semantic roles & 50–950 ramp
primary
#4F5CE3
secondary
#E3DEAA
accent
#DF39EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84