#4757D8#4757D8

#4757D8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.196 H 272.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4757D8
RGBrgb(71, 87, 216)
HSLhsl(233, 65%, 56%)
HSVhsv(233, 67%, 85%)
CMYKcmyk(67.1%, 59.7%, 0%, 15.3%)
CIE-LABlab(42.93, 35.21, -68.09)
CIE-LCHlch(42.93, 76.66, 297.34°)
OKLaboklab(52.19% 0.0077 -0.1963)
OKLCHoklch(52.19% 0.196 272.2)
XYZxyz(18.3972, 13.1121, 66.5138)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757D8 #D8C847
analogous
#47A0D8 #4757D8 #8047D8
triadic
#4757D8 #D84757 #57D847
tetradic
#4757D8 #D847A0 #D8C847 #47D880
square
#4757D8 #D847A0 #D8C847 #47D880
split-complementary
#4757D8 #D88047 #A0D847
monochromatic
#1D2988 #2738BA #4757D8 #7985E3 #ACB3ED

Accessibility & contrast

On white

5.80
#4757D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4757D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757D8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757D8#FFFFFF#000000##FFFFFF
##4757D81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4757d8;
/* rgb */ color: rgb(71, 87, 216);
/* oklch */ color: oklch(52.2% 0.196 272.2);
Tailwind
colors: {
  custom: {
    50: '#8b86e5',
    500: '#4757d8',
    950: '#000000',
  },
}
SCSS
$custom: #4757d8;
$custom-light: #8b86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4757d8",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 233.379,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.19643,
    "h": 272.2
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4757D8

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

Preview Lab → · Contrast checker → · Palette generator →

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