#4C5FDA#4C5FDA
#4C5FDA is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.188 H 271.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5FDA |
|---|---|
| RGB | rgb(76, 95, 218) |
| HSL | hsl(232, 66%, 58%) |
| HSV | hsv(232, 65%, 85%) |
| CMYK | cmyk(65.1%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(45.33, 31.65, -65.32) |
| CIE-LCH | lch(45.33, 72.58, 295.85°) |
| OKLab | oklab(54.1% 0.0063 -0.1879) |
| OKLCH | oklch(54.1% 0.188 271.9) |
| XYZ | xyz(19.7233, 14.7811, 68.1297) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.55
Azul
#1D5DEC
ΔE00 3.76
Royal Blue
#4169E1
ΔE00 4.04
Dark Periwinkle
#665FD1
ΔE00 4.25
Iris
#6258C4
ΔE00 5.41
Bright Blue
#0165FC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5FDA #DAC74C
analogous
#4CA6DA #4C5FDA #804CDA
triadic
#4C5FDA #DA4C5F #5FDA4C
tetradic
#4C5FDA #DA4CA6 #DAC74C #4CDA80
square
#4C5FDA #DA4CA6 #DAC74C #4CDA80
split-complementary
#4C5FDA #DA804C #A6DA4C
monochromatic
#1D2C8E #283CC1 #4C5FDA #7F8CE4 #B1BAEF
Accessibility & contrast
On white
5.31
#4C5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#4C5FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5FDA
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5FDA | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4c5fda; /* rgb */ color: rgb(76, 95, 218); /* oklch */ color: oklch(54.1% 0.188 271.9);
Tailwind
colors: {
custom: {
50: '#8d8ce6',
500: '#4c5fda',
950: '#000000',
},
}SCSS
$custom: #4c5fda; $custom-light: #8d8ce6; $custom-dark: #000000;
JSON
{
"hex": "#4c5fda",
"rgb": {
"r": 76,
"g": 95,
"b": 218
},
"hsl": {
"h": 231.972,
"s": 65.741,
"l": 57.647
},
"oklch": {
"l": 0.54101,
"c": 0.18803,
"h": 271.9
},
"luminance": 0.14783
}Semantic roles & 50–950 ramp
primary
#4C5FDA
secondary
#DDD6A4
accent
#D23FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84