#4756C7#4756C7

#4756C7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.175 H 272.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4756C7
RGBrgb(71, 86, 199)
HSLhsl(233, 53%, 53%)
HSVhsv(233, 64%, 78%)
CMYKcmyk(64.3%, 56.8%, 0%, 22%)
CIE-LABlab(41.40, 29.98, -60.80)
CIE-LCHlch(41.40, 67.79, 296.25°)
OKLaboklab(50.65% 0.0085 -0.1748)
OKLCHoklch(50.65% 0.175 272.8)
XYZxyz(16.2317, 12.1173, 55.5052)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756C7 #C7B847
analogous
#4796C7 #4756C7 #7847C7
triadic
#4756C7 #C74756 #56C747
tetradic
#4756C7 #C74796 #C7B847 #47C778
square
#4756C7 #C74796 #C7B847 #47C778
split-complementary
#4756C7 #C77847 #96C747
monochromatic
#222C71 #313EA0 #4756C7 #7681D5 #A5ACE4

Accessibility & contrast

On white

6.13
#4756C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4756C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756C7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756C7#FFFFFF#000000##FFFFFF
##4756C71.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4756c7;
/* rgb */ color: rgb(71, 86, 199);
/* oklch */ color: oklch(50.7% 0.175 272.8);
Tailwind
colors: {
  custom: {
    50: '#8885d9',
    500: '#4756c7',
    950: '#000000',
  },
}
SCSS
$custom: #4756c7;
$custom-light: #8885d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4756c7",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 232.969,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.17506,
    "h": 272.8
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#4756C7
secondary
#D1CA99
accent
#CC4BDD
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4756C7

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

Preview Lab → · Contrast checker → · Palette generator →

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