#4757C8#4757C8

#4757C8 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.175 H 272.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4757C8
RGBrgb(71, 87, 200)
HSLhsl(233, 54%, 53%)
HSVhsv(233, 65%, 78%)
CMYKcmyk(64.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(41.73, 29.69, -60.85)
CIE-LCHlch(41.73, 67.71, 296.01°)
OKLaboklab(50.92% 0.0076 -0.175)
OKLCHoklch(50.92% 0.175 272.5)
XYZxyz(16.4286, 12.3247, 56.1455)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757C8 #C8B847
analogous
#4797C8 #4757C8 #7747C8
triadic
#4757C8 #C84757 #57C847
tetradic
#4757C8 #C84797 #C8B847 #47C877
square
#4757C8 #C84797 #C8B847 #47C877
split-complementary
#4757C8 #C87747 #97C847
monochromatic
#222C72 #303EA2 #4757C8 #7682D6 #A5ADE4

Accessibility & contrast

On white

6.06
#4757C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4757C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757C8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757C8#FFFFFF#000000##FFFFFF
##4757C81.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4757c8;
/* rgb */ color: rgb(71, 87, 200);
/* oklch */ color: oklch(50.9% 0.175 272.5);
Tailwind
colors: {
  custom: {
    50: '#8886d9',
    500: '#4757c8',
    950: '#000000',
  },
}
SCSS
$custom: #4757c8;
$custom-light: #8886d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4757c8",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 232.558,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5092,
    "c": 0.17516,
    "h": 272.5
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#4757C8
secondary
#D1CA9A
accent
#CB4ADD
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4757C8

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

Preview Lab → · Contrast checker → · Palette generator →

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