#4758D5#4758D5
#4758D5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.191 H 272.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4758D5 |
|---|---|
| RGB | rgb(71, 88, 213) |
| HSL | hsl(233, 63%, 56%) |
| HSV | hsv(233, 67%, 84%) |
| CMYK | cmyk(66.7%, 58.7%, 0%, 16.5%) |
| CIE-LAB | lab(42.95, 33.56, -66.35) |
| CIE-LCH | lch(42.95, 74.36, 296.83°) |
| OKLab | oklab(52.13% 0.0069 -0.1912) |
| OKLCH | oklch(52.13% 0.191 272.1) |
| XYZ | xyz(18.0945, 13.1215, 64.5170) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.14
Azul
#1D5DEC
ΔE00 4.29
Iris
#6258C4
ΔE00 4.75
Dark Periwinkle
#665FD1
ΔE00 4.92
Electric Blue
#0652FF
ΔE00 5.09
Slate Blue
#6A5ACD
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4758D5 #D5C447
analogous
#479FD5 #4758D5 #7D47D5
triadic
#4758D5 #D54758 #58D547
tetradic
#4758D5 #D5479F #D5C447 #47D57D
square
#4758D5 #D5479F #D5C447 #47D57D
split-complementary
#4758D5 #D57D47 #9FD547
monochromatic
#1E2A84 #293AB5 #4758D5 #7985E0 #ABB2EC
Accessibility & contrast
On white
5.79
#4758D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#4758D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4758D5
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4758D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4758D5 | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4758d5; /* rgb */ color: rgb(71, 88, 213); /* oklch */ color: oklch(52.1% 0.191 272.1);
Tailwind
colors: {
custom: {
50: '#8a87e3',
500: '#4758d5',
950: '#000000',
},
}SCSS
$custom: #4758d5; $custom-light: #8a87e3; $custom-dark: #000000;
JSON
{
"hex": "#4758d5",
"rgb": {
"r": 71,
"g": 88,
"b": 213
},
"hsl": {
"h": 232.817,
"s": 62.832,
"l": 55.686
},
"oklch": {
"l": 0.52131,
"c": 0.19129,
"h": 272.1
},
"luminance": 0.13123
}Semantic roles & 50–950 ramp
primary
#4758D5
secondary
#D9D29E
accent
#D242E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84