#4C58D7#4C58D7
#4C58D7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.193 H 273.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4C58D7 |
|---|---|
| RGB | rgb(76, 88, 215) |
| HSL | hsl(235, 63%, 57%) |
| HSV | hsv(235, 65%, 84%) |
| CMYK | cmyk(64.7%, 59.1%, 0%, 15.7%) |
| CIE-LAB | lab(43.39, 34.98, -66.76) |
| CIE-LCH | lch(43.39, 75.37, 297.65°) |
| OKLab | oklab(52.59% 0.0122 -0.1922) |
| OKLCH | oklch(52.59% 0.193 273.6) |
| XYZ | xyz(18.7319, 13.4206, 65.8801) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.58
Iris
#6258C4
ΔE00 4.30
Dark Periwinkle
#665FD1
ΔE00 4.32
Azul
#1D5DEC
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 4.92
Electric Blue
#0652FF
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C58D7 #D7CB4C
analogous
#4C9ED7 #4C58D7 #864CD7
triadic
#4C58D7 #D74C58 #58D74C
tetradic
#4C58D7 #D74C9E #D7CB4C #4CD786
square
#4C58D7 #D74C9E #D7CB4C #4CD786
split-complementary
#4C58D7 #D7864C #9ED74C
monochromatic
#1F288A #2A37BC #4C58D7 #7E87E2 #B0B5ED
Accessibility & contrast
On white
5.70
#4C58D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#4C58D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C58D7
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C58D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C58D7 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4c58d7; /* rgb */ color: rgb(76, 88, 215); /* oklch */ color: oklch(52.6% 0.193 273.6);
Tailwind
colors: {
custom: {
50: '#8d87e4',
500: '#4c58d7',
950: '#000000',
},
}SCSS
$custom: #4c58d7; $custom-light: #8d87e4; $custom-dark: #000000;
JSON
{
"hex": "#4c58d7",
"rgb": {
"r": 76,
"g": 88,
"b": 215
},
"hsl": {
"h": 234.82,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.52586,
"c": 0.19263,
"h": 273.6
},
"luminance": 0.13422
}Semantic roles & 50–950 ramp
primary
#4C58D7
secondary
#DCD7A3
accent
#D841E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84