#4756D7#4756D7

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

Color values

HEX#4756D7
RGBrgb(71, 86, 215)
HSLhsl(234, 64%, 56%)
HSVhsv(234, 67%, 84%)
CMYKcmyk(67%, 60%, 0%, 15.7%)
CIE-LABlab(42.61, 35.49, -68.04)
CIE-LCHlch(42.61, 76.74, 297.55°)
OKLaboklab(51.93% 0.0085 -0.1961)
OKLCHoklch(51.93% 0.196 272.5)
XYZxyz(18.1879, 12.8998, 65.8082)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756D7 #D7C847
analogous
#479ED7 #4756D7 #8047D7
triadic
#4756D7 #D74756 #56D747
tetradic
#4756D7 #D7479E #D7C847 #47D780
square
#4756D7 #D7479E #D7C847 #47D780
split-complementary
#4756D7 #D78047 #9ED747
monochromatic
#1D2886 #2837B9 #4756D7 #7984E2 #ACB2ED

Accessibility & contrast

On white

5.87
#4756D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4756D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756D7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756D7#FFFFFF#000000##FFFFFF
##4756D71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4756d7;
/* rgb */ color: rgb(71, 86, 215);
/* oklch */ color: oklch(51.9% 0.196 272.5);
Tailwind
colors: {
  custom: {
    50: '#8b85e4',
    500: '#4756d7',
    950: '#000000',
  },
}
SCSS
$custom: #4756d7;
$custom-light: #8b85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4756d7",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 233.75,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51932,
    "c": 0.19632,
    "h": 272.5
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#4756D7
secondary
#DBD49F
accent
#D641E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4756D7

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

Preview Lab → · Contrast checker → · Palette generator →

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