#4C5FE1#4C5FE1
#4C5FE1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.197 H 271.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5FE1 |
|---|---|
| RGB | rgb(76, 95, 225) |
| HSL | hsl(232, 71%, 59%) |
| HSV | hsv(232, 66%, 88%) |
| CMYK | cmyk(66.2%, 57.8%, 0%, 11.8%) |
| CIE-LAB | lab(45.85, 34.05, -68.46) |
| CIE-LCH | lch(45.85, 76.46, 296.44°) |
| OKLab | oklab(54.65% 0.0064 -0.1972) |
| OKLCH | oklch(54.65% 0.197 271.9) |
| XYZ | xyz(20.6587, 15.1553, 73.0561) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.67
Azul
#1D5DEC
ΔE00 3.62
Royal Blue
#4169E1
ΔE00 4.01
Dark Periwinkle
#665FD1
ΔE00 4.38
Electric Blue
#0652FF
ΔE00 5.17
Bright Blue
#0165FC
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5FE1 #E1CE4C
analogous
#4CAAE1 #4C5FE1 #844CE1
triadic
#4C5FE1 #E14C5F #5FE14C
tetradic
#4C5FE1 #E14CAA #E1CE4C #4CE184
square
#4C5FE1 #E14CAA #E1CE4C #4CE184
split-complementary
#4C5FE1 #E1844C #AAE14C
monochromatic
#1A2A99 #2238CD #4C5FE1 #808EEA #B5BDF3
Accessibility & contrast
On white
5.21
#4C5FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#4C5FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5FE1
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5FE1 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4c5fe1; /* rgb */ color: rgb(76, 95, 225); /* oklch */ color: oklch(54.6% 0.197 271.9);
Tailwind
colors: {
custom: {
50: '#8e8ceb',
500: '#4c5fe1',
950: '#000000',
},
}SCSS
$custom: #4c5fe1; $custom-light: #8e8ceb; $custom-dark: #000000;
JSON
{
"hex": "#4c5fe1",
"rgb": {
"r": 76,
"g": 95,
"b": 225
},
"hsl": {
"h": 232.349,
"s": 71.292,
"l": 59.02
},
"oklch": {
"l": 0.54645,
"c": 0.19727,
"h": 271.9
},
"luminance": 0.15157
}Semantic roles & 50–950 ramp
primary
#4C5FE1
secondary
#E2DAA7
accent
#D73AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84