#4756D6#4756D6

#4756D6 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.195 H 272.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4756D6
RGBrgb(71, 86, 214)
HSLhsl(234, 64%, 56%)
HSVhsv(234, 67%, 84%)
CMYKcmyk(66.8%, 59.8%, 0%, 16.1%)
CIE-LABlab(42.53, 35.15, -67.60)
CIE-LCHlch(42.53, 76.19, 297.47°)
OKLaboklab(51.85% 0.0085 -0.1948)
OKLCHoklch(51.85% 0.195 272.5)
XYZxyz(18.0599, 12.8485, 65.1336)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756D6 #D6C747
analogous
#479ED6 #4756D6 #7F47D6
triadic
#4756D6 #D64756 #56D647
tetradic
#4756D6 #D6479E #D6C747 #47D67F
square
#4756D6 #D6479E #D6C747 #47D67F
split-complementary
#4756D6 #D67F47 #9ED647
monochromatic
#1E2885 #2938B7 #4756D6 #7984E1 #ABB2EC

Accessibility & contrast

On white

5.88
#4756D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4756D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756D6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756D6#FFFFFF#000000##FFFFFF
##4756D61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4756d6;
/* rgb */ color: rgb(71, 86, 214);
/* oklch */ color: oklch(51.8% 0.195 272.5);
Tailwind
colors: {
  custom: {
    50: '#8b85e4',
    500: '#4756d6',
    950: '#000000',
  },
}
SCSS
$custom: #4756d6;
$custom-light: #8b85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4756d6",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 214
  },
  "hsl": {
    "h": 233.706,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.19502,
    "h": 272.5
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#4756D6
secondary
#DAD49F
accent
#D541E7
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4756D6

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

Preview Lab → · Contrast checker → · Palette generator →

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