#4756C5#4756C5

#4756C5 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.172 H 272.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4756C5
RGBrgb(71, 86, 197)
HSLhsl(233, 52%, 53%)
HSVhsv(233, 64%, 77%)
CMYKcmyk(64%, 56.3%, 0%, 22.7%)
CIE-LABlab(41.26, 29.29, -59.88)
CIE-LCHlch(41.26, 66.66, 296.07°)
OKLaboklab(50.5% 0.0084 -0.1721)
OKLCHoklch(50.5% 0.172 272.8)
XYZxyz(16.0010, 12.0250, 54.2903)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756C5 #C5B647
analogous
#4795C5 #4756C5 #7747C5
triadic
#4756C5 #C54756 #56C547
tetradic
#4756C5 #C54795 #C5B647 #47C577
square
#4756C5 #C54795 #C5B647 #47C577
split-complementary
#4756C5 #C57747 #95C547
monochromatic
#232C6F #323E9D #4756C5 #7681D4 #A4ABE2

Accessibility & contrast

On white

6.17
#4756C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4756C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756C5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756C5#FFFFFF#000000##FFFFFF
##4756C51.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4756c5;
/* rgb */ color: rgb(71, 86, 197);
/* oklch */ color: oklch(50.5% 0.172 272.8);
Tailwind
colors: {
  custom: {
    50: '#8785d7',
    500: '#4756c5',
    950: '#000000',
  },
}
SCSS
$custom: #4756c5;
$custom-light: #8785d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4756c5",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 197
  },
  "hsl": {
    "h": 232.857,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50499,
    "c": 0.17235,
    "h": 272.8
  },
  "luminance": 0.12026
}

Semantic roles & 50–950 ramp

primary
#4756C5
secondary
#CFC999
accent
#CA4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4756C5

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

Preview Lab → · Contrast checker → · Palette generator →

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