#4757DC#4757DC

#4757DC is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.5% C 0.202 H 272.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4757DC
RGBrgb(71, 87, 220)
HSLhsl(234, 68%, 57%)
HSVhsv(234, 68%, 86%)
CMYKcmyk(67.7%, 60.5%, 0%, 13.7%)
CIE-LABlab(43.24, 36.59, -69.87)
CIE-LCHlch(43.24, 78.87, 297.64°)
OKLaboklab(52.52% 0.0076 -0.2015)
OKLCHoklch(52.52% 0.202 272.2)
XYZxyz(18.9207, 13.3215, 69.2705)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757DC #DCCC47
analogous
#47A2DC #4757DC #8247DC
triadic
#4757DC #DC4757 #57DC47
tetradic
#4757DC #DC47A2 #DCCC47 #47DC82
square
#4757DC #DC47A2 #DCCC47 #47DC82
split-complementary
#4757DC #DC8247 #A2DC47
monochromatic
#1B278E #2536C1 #4757DC #7A86E6 #AEB5F0

Accessibility & contrast

On white

5.73
#4757DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4757DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757DC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757DC#FFFFFF#000000##FFFFFF
##4757DC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4757dc;
/* rgb */ color: rgb(71, 87, 220);
/* oklch */ color: oklch(52.5% 0.202 272.2);
Tailwind
colors: {
  custom: {
    50: '#8c86e8',
    500: '#4757dc',
    950: '#000000',
  },
}
SCSS
$custom: #4757dc;
$custom-light: #8c86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4757dc",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 233.557,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.20163,
    "h": 272.2
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

primary
#4757DC
secondary
#DED7A1
accent
#D83DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4757DC

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

Preview Lab → · Contrast checker → · Palette generator →

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