#4756C3#4756C3

#4756C3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.170 H 272.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4756C3
RGBrgb(71, 86, 195)
HSLhsl(233, 51%, 52%)
HSVhsv(233, 64%, 76%)
CMYKcmyk(63.6%, 55.9%, 0%, 23.5%)
CIE-LABlab(41.11, 28.60, -58.95)
CIE-LCHlch(41.11, 65.52, 295.88°)
OKLaboklab(50.35% 0.0084 -0.1694)
OKLCHoklch(50.35% 0.17 272.8)
XYZxyz(15.7734, 11.9340, 53.0914)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756C3 #C3B447
analogous
#4794C3 #4756C3 #7647C3
triadic
#4756C3 #C34756 #56C347
tetradic
#4756C3 #C34794 #C3B447 #47C376
square
#4756C3 #C34794 #C3B447 #47C376
split-complementary
#4756C3 #C37647 #94C347
monochromatic
#232C6C #323F9A #4756C3 #7580D2 #A3ABE1

Accessibility & contrast

On white

6.20
#4756C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4756C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756C3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756C3#FFFFFF#000000##FFFFFF
##4756C31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4756c3;
/* rgb */ color: rgb(71, 86, 195);
/* oklch */ color: oklch(50.3% 0.170 272.8);
Tailwind
colors: {
  custom: {
    50: '#8785d6',
    500: '#4756c3',
    950: '#000000',
  },
}
SCSS
$custom: #4756c3;
$custom-light: #8785d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4756c3",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 195
  },
  "hsl": {
    "h": 232.742,
    "s": 50.82,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.16962,
    "h": 272.8
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#4756C3
secondary
#CEC798
accent
#C94DDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4756C3

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

Preview Lab → · Contrast checker → · Palette generator →

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