#4757C7#4757C7

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

Color values

HEX#4757C7
RGBrgb(71, 87, 199)
HSLhsl(233, 53%, 53%)
HSVhsv(233, 64%, 78%)
CMYKcmyk(64.3%, 56.3%, 0%, 22%)
CIE-LABlab(41.65, 29.35, -60.39)
CIE-LCHlch(41.65, 67.14, 295.92°)
OKLaboklab(50.84% 0.0076 -0.1736)
OKLCHoklch(50.84% 0.174 272.5)
XYZxyz(16.3121, 12.2781, 55.5320)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757C7 #C7B747
analogous
#4797C7 #4757C7 #7747C7
triadic
#4757C7 #C74757 #57C747
tetradic
#4757C7 #C74797 #C7B747 #47C777
square
#4757C7 #C74797 #C7B747 #47C777
split-complementary
#4757C7 #C77747 #97C747
monochromatic
#222C71 #313FA0 #4757C7 #7682D5 #A5ADE4

Accessibility & contrast

On white

6.08
#4757C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4757C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757C7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757C7#FFFFFF#000000##FFFFFF
##4757C71.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4757c7;
/* rgb */ color: rgb(71, 87, 199);
/* oklch */ color: oklch(50.8% 0.174 272.5);
Tailwind
colors: {
  custom: {
    50: '#8886d9',
    500: '#4757c7',
    950: '#000000',
  },
}
SCSS
$custom: #4757c7;
$custom-light: #8886d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4757c7",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 232.5,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50843,
    "c": 0.1738,
    "h": 272.5
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#4757C7
secondary
#D1CA99
accent
#CB4BDD
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4757C7

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

Preview Lab → · Contrast checker → · Palette generator →

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