#4757D2#4757D2

#4757D2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.189 H 272.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4757D2
RGBrgb(71, 87, 210)
HSLhsl(233, 61%, 55%)
HSVhsv(233, 66%, 82%)
CMYKcmyk(66.2%, 58.6%, 0%, 17.6%)
CIE-LABlab(42.47, 33.15, -65.40)
CIE-LCHlch(42.47, 73.32, 296.88°)
OKLaboklab(51.71% 0.0078 -0.1884)
OKLCHoklch(51.71% 0.189 272.4)
XYZxyz(17.6357, 12.8075, 62.5030)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757D2 #D2C247
analogous
#479CD2 #4757D2 #7D47D2
triadic
#4757D2 #D24757 #57D247
tetradic
#4757D2 #D2479C #D2C247 #47D27D
square
#4757D2 #D2479C #D2C247 #47D27D
split-complementary
#4757D2 #D27D47 #9CD247
monochromatic
#1F2A7F #2B3BB1 #4757D2 #7884DE #A9B1EA

Accessibility & contrast

On white

5.90
#4757D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4757D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757D2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757D2#FFFFFF#000000##FFFFFF
##4757D21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4757d2;
/* rgb */ color: rgb(71, 87, 210);
/* oklch */ color: oklch(51.7% 0.189 272.4);
Tailwind
colors: {
  custom: {
    50: '#8a86e1',
    500: '#4757d2',
    950: '#000000',
  },
}
SCSS
$custom: #4757d2;
$custom-light: #8a86e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4757d2",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 233.094,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51708,
    "c": 0.18854,
    "h": 272.4
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#4757D2
secondary
#D8D19D
accent
#D144E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4757D2

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

Preview Lab → · Contrast checker → · Palette generator →

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