#4957D7#4957D7
#4957D7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.195 H 272.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4957D7 |
|---|---|
| RGB | rgb(73, 87, 215) |
| HSL | hsl(234, 64%, 56%) |
| HSV | hsv(234, 66%, 84%) |
| CMYK | cmyk(66%, 59.5%, 0%, 15.7%) |
| CIE-LAB | lab(42.97, 35.16, -67.45) |
| CIE-LCH | lch(42.97, 76.07, 297.53°) |
| OKLab | oklab(52.23% 0.0098 -0.1944) |
| OKLCH | oklch(52.23% 0.195 272.9) |
| XYZ | xyz(18.4175, 13.1375, 65.8420) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.65
Azul
#1D5DEC
ΔE00 4.55
Iris
#6258C4
ΔE00 4.56
Dark Periwinkle
#665FD1
ΔE00 4.75
Electric Blue
#0652FF
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4957D7 #D7C949
analogous
#499ED7 #4957D7 #8249D7
triadic
#4957D7 #D74957 #57D749
tetradic
#4957D7 #D7499E #D7C949 #49D782
square
#4957D7 #D7499E #D7C949 #49D782
split-complementary
#4957D7 #D78249 #9ED749
monochromatic
#1E2888 #2937BA #4957D7 #7B85E2 #ADB4ED
Accessibility & contrast
On white
5.79
#4957D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#4957D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4957D7
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4957D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4957D7 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4957d7; /* rgb */ color: rgb(73, 87, 215); /* oklch */ color: oklch(52.2% 0.195 272.9);
Tailwind
colors: {
custom: {
50: '#8c86e4',
500: '#4957d7',
950: '#000000',
},
}SCSS
$custom: #4957d7; $custom-light: #8c86e4; $custom-dark: #000000;
JSON
{
"hex": "#4957d7",
"rgb": {
"r": 73,
"g": 87,
"b": 215
},
"hsl": {
"h": 234.085,
"s": 63.964,
"l": 56.471
},
"oklch": {
"l": 0.52228,
"c": 0.19461,
"h": 272.9
},
"luminance": 0.13139
}Semantic roles & 50–950 ramp
primary
#4957D7
secondary
#DBD5A1
accent
#D741E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84