#4757C2#4757C2

#4757C2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.167 H 272.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4757C2
RGBrgb(71, 87, 194)
HSLhsl(232, 50%, 52%)
HSVhsv(232, 63%, 76%)
CMYKcmyk(63.4%, 55.2%, 0%, 23.9%)
CIE-LABlab(41.30, 27.62, -58.07)
CIE-LCHlch(41.30, 64.30, 295.44°)
OKLaboklab(50.46% 0.0074 -0.1668)
OKLCHoklch(50.46% 0.167 272.5)
XYZxyz(15.7411, 12.0497, 52.5248)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757C2 #C2B247
analogous
#4795C2 #4757C2 #7547C2
triadic
#4757C2 #C24757 #57C247
tetradic
#4757C2 #C24795 #C2B247 #47C275
square
#4757C2 #C24795 #C2B247 #47C275
split-complementary
#4757C2 #C27547 #95C247
monochromatic
#242D6B #334099 #4757C2 #7581D1 #A3ABE0

Accessibility & contrast

On white

6.16
#4757C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4757C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757C2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757C2#FFFFFF#000000##FFFFFF
##4757C21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4757c2;
/* rgb */ color: rgb(71, 87, 194);
/* oklch */ color: oklch(50.5% 0.167 272.5);
Tailwind
colors: {
  custom: {
    50: '#8786d5',
    500: '#4757c2',
    950: '#000000',
  },
}
SCSS
$custom: #4757c2;
$custom-light: #8786d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4757c2",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 232.195,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.16698,
    "h": 272.5
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#4757C2
secondary
#CDC697
accent
#C84EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4757C2

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

Preview Lab → · Contrast checker → · Palette generator →

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