#4757C2#4757C2
#4757C2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.167 H 272.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4757C2 |
|---|---|
| RGB | rgb(71, 87, 194) |
| HSL | hsl(232, 50%, 52%) |
| HSV | hsv(232, 63%, 76%) |
| CMYK | cmyk(63.4%, 55.2%, 0%, 23.9%) |
| CIE-LAB | lab(41.30, 27.62, -58.07) |
| CIE-LCH | lch(41.30, 64.30, 295.44°) |
| OKLab | oklab(50.46% 0.0074 -0.1668) |
| OKLCH | oklch(50.46% 0.167 272.5) |
| XYZ | xyz(15.7411, 12.0497, 52.5248) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.56
Iris
#6258C4
ΔE00 4.64
Sapphire
#0F52BA
ΔE00 5.69
Dark Periwinkle
#665FD1
ΔE00 5.84
Azul
#1D5DEC
ΔE00 6.03
Slate Blue
#6A5ACD
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4757C2 #C2B247
analogous
#4795C2 #4757C2 #7547C2
triadic
#4757C2 #C24757 #57C247
tetradic
#4757C2 #C24795 #C2B247 #47C275
square
#4757C2 #C24795 #C2B247 #47C275
split-complementary
#4757C2 #C27547 #95C247
monochromatic
#242D6B #334099 #4757C2 #7581D1 #A3ABE0
Accessibility & contrast
On white
6.16
#4757C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#4757C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4757C2
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4757C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4757C2 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4757c2; /* rgb */ color: rgb(71, 87, 194); /* oklch */ color: oklch(50.5% 0.167 272.5);
Tailwind
colors: {
custom: {
50: '#8786d5',
500: '#4757c2',
950: '#000000',
},
}SCSS
$custom: #4757c2; $custom-light: #8786d5; $custom-dark: #000000;
JSON
{
"hex": "#4757c2",
"rgb": {
"r": 71,
"g": 87,
"b": 194
},
"hsl": {
"h": 232.195,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.5046,
"c": 0.16698,
"h": 272.5
},
"luminance": 0.12051
}Semantic roles & 50–950 ramp
primary
#4757C2
secondary
#CDC697
accent
#C84EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83