#4756D8#4756D8

#4756D8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.198 H 272.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4756D8
RGBrgb(71, 86, 216)
HSLhsl(234, 65%, 56%)
HSVhsv(234, 67%, 85%)
CMYKcmyk(67.1%, 60.2%, 0%, 15.3%)
CIE-LABlab(42.69, 35.83, -68.49)
CIE-LCHlch(42.69, 77.30, 297.62°)
OKLaboklab(52.01% 0.0085 -0.1974)
OKLCHoklch(52.01% 0.198 272.5)
XYZxyz(18.3168, 12.9513, 66.4870)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756D8 #D8C947
analogous
#479FD8 #4756D8 #8147D8
triadic
#4756D8 #D84756 #56D847
tetradic
#4756D8 #D8479F #D8C947 #47D881
square
#4756D8 #D8479F #D8C947 #47D881
split-complementary
#4756D8 #D88147 #9FD847
monochromatic
#1D2888 #2737BA #4756D8 #7984E3 #ACB3ED

Accessibility & contrast

On white

5.85
#4756D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4756D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756D8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756D8#FFFFFF#000000##FFFFFF
##4756D81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4756d8;
/* rgb */ color: rgb(71, 86, 216);
/* oklch */ color: oklch(52.0% 0.198 272.5);
Tailwind
colors: {
  custom: {
    50: '#8b85e5',
    500: '#4756d8',
    950: '#000000',
  },
}
SCSS
$custom: #4756d8;
$custom-light: #8b85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4756d8",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 216
  },
  "hsl": {
    "h": 233.793,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52014,
    "c": 0.19763,
    "h": 272.5
  },
  "luminance": 0.12953
}

Semantic roles & 50–950 ramp

primary
#4756D8
secondary
#DBD5A0
accent
#D740E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4756D8

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

Preview Lab → · Contrast checker → · Palette generator →

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