#4757E6#4757E6

#4757E6 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.214 H 271.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4757E6
RGBrgb(71, 87, 230)
HSLhsl(234, 76%, 59%)
HSVhsv(234, 69%, 90%)
CMYKcmyk(69.1%, 62.2%, 0%, 9.8%)
CIE-LABlab(44.04, 40.00, -74.24)
CIE-LCHlch(44.04, 84.33, 298.31°)
OKLaboklab(53.36% 0.0073 -0.2143)
OKLCHoklch(53.36% 0.214 271.9)
XYZxyz(20.2848, 13.8672, 76.4552)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757E6 #E6D647
analogous
#47A7E6 #4757E6 #8747E6
triadic
#4757E6 #E64757 #57E647
tetradic
#4757E6 #E647A7 #E6D647 #47E687
square
#4757E6 #E647A7 #E6D647 #47E687
split-complementary
#4757E6 #E68747 #A7E647
monochromatic
#15239D #1D2FD3 #4757E6 #7D88ED #B3B9F5

Accessibility & contrast

On white

5.56
#4757E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4757E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757E6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757E6#FFFFFF#000000##FFFFFF
##4757E61.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4757e6;
/* rgb */ color: rgb(71, 87, 230);
/* oklch */ color: oklch(53.4% 0.214 271.9);
Tailwind
colors: {
  custom: {
    50: '#8e86ef',
    500: '#4757e6',
    950: '#000000',
  },
}
SCSS
$custom: #4757e6;
$custom-light: #8e86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4757e6",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 233.962,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53357,
    "c": 0.21446,
    "h": 271.9
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#4757E6
secondary
#E4DDA5
accent
#E035F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4757E6

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

Preview Lab → · Contrast checker → · Palette generator →

#4757E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva