#4757C5#4757C5

#4757C5 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.171 H 272.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4757C5
RGBrgb(71, 87, 197)
HSLhsl(232, 52%, 53%)
HSVhsv(232, 64%, 77%)
CMYKcmyk(64%, 55.8%, 0%, 22.7%)
CIE-LABlab(41.51, 28.66, -59.46)
CIE-LCHlch(41.51, 66.01, 295.73°)
OKLaboklab(50.69% 0.0075 -0.1709)
OKLCHoklch(50.69% 0.171 272.5)
XYZxyz(16.0814, 12.1858, 54.3171)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757C5 #C5B547
analogous
#4796C5 #4757C5 #7647C5
triadic
#4757C5 #C54757 #57C547
tetradic
#4757C5 #C54796 #C5B547 #47C576
square
#4757C5 #C54796 #C5B547 #47C576
split-complementary
#4757C5 #C57647 #96C547
monochromatic
#232D6F #323F9D #4757C5 #7681D4 #A4ACE2

Accessibility & contrast

On white

6.11
#4757C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4757C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757C5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757C5#FFFFFF#000000##FFFFFF
##4757C51.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4757c5;
/* rgb */ color: rgb(71, 87, 197);
/* oklch */ color: oklch(50.7% 0.171 272.5);
Tailwind
colors: {
  custom: {
    50: '#8786d7',
    500: '#4757c5',
    950: '#000000',
  },
}
SCSS
$custom: #4757c5;
$custom-light: #8786d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4757c5",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 197
  },
  "hsl": {
    "h": 232.381,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50689,
    "c": 0.17109,
    "h": 272.5
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#4757C5
secondary
#CFC899
accent
#C94CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4757C5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4757C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva