#4756C4#4756C4

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

Color values

HEX#4756C4
RGBrgb(71, 86, 196)
HSLhsl(233, 51%, 52%)
HSVhsv(233, 64%, 77%)
CMYKcmyk(63.8%, 56.1%, 0%, 23.1%)
CIE-LABlab(41.18, 28.95, -59.41)
CIE-LCHlch(41.18, 66.09, 295.97°)
OKLaboklab(50.42% 0.0084 -0.1708)
OKLCHoklch(50.42% 0.171 272.8)
XYZxyz(15.8868, 11.9793, 53.6889)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756C4 #C4B547
analogous
#4795C4 #4756C4 #7747C4
triadic
#4756C4 #C44756 #56C447
tetradic
#4756C4 #C44795 #C4B547 #47C477
square
#4756C4 #C44795 #C4B547 #47C477
split-complementary
#4756C4 #C47747 #95C447
monochromatic
#232C6D #323F9C #4756C4 #7581D3 #A4ABE2

Accessibility & contrast

On white

6.18
#4756C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4756C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756C4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756C4#FFFFFF#000000##FFFFFF
##4756C41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4756c4;
/* rgb */ color: rgb(71, 86, 196);
/* oklch */ color: oklch(50.4% 0.171 272.8);
Tailwind
colors: {
  custom: {
    50: '#8785d7',
    500: '#4756c4',
    950: '#000000',
  },
}
SCSS
$custom: #4756c4;
$custom-light: #8785d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4756c4",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 232.8,
    "s": 51.44,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.17099,
    "h": 272.8
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#4756C4
secondary
#CFC898
accent
#CA4DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4756C4

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

Preview Lab → · Contrast checker → · Palette generator →

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