#4756CE#4756CE

#4756CE is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.184 H 272.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4756CE
RGBrgb(71, 86, 206)
HSLhsl(233, 58%, 54%)
HSVhsv(233, 66%, 81%)
CMYKcmyk(65.5%, 58.3%, 0%, 19.2%)
CIE-LABlab(41.92, 32.40, -64.00)
CIE-LCHlch(41.92, 71.73, 296.85°)
OKLaboklab(51.21% 0.0086 -0.1843)
OKLCHoklch(51.21% 0.184 272.7)
XYZxyz(17.0632, 12.4499, 59.8844)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756CE #CEBF47
analogous
#479ACE #4756CE #7C47CE
triadic
#4756CE #CE4756 #56CE47
tetradic
#4756CE #CE479A #CEBF47 #47CE7C
square
#4756CE #CE479A #CEBF47 #47CE7C
split-complementary
#4756CE #CE7C47 #9ACE47
monochromatic
#212A7A #2D3BAA #4756CE #7782DB #A8AFE8

Accessibility & contrast

On white

6.02
#4756CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4756CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756CE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756CE#FFFFFF#000000##FFFFFF
##4756CE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4756ce;
/* rgb */ color: rgb(71, 86, 206);
/* oklch */ color: oklch(51.2% 0.184 272.7);
Tailwind
colors: {
  custom: {
    50: '#8985de',
    500: '#4756ce',
    950: '#000000',
  },
}
SCSS
$custom: #4756ce;
$custom-light: #8985de;
$custom-dark: #000000;
JSON
{
  "hex": "#4756ce",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 233.333,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.18446,
    "h": 272.7
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#4756CE
secondary
#D5CF9C
accent
#D047E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4756CE

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

Preview Lab → · Contrast checker → · Palette generator →

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