#4757C3#4757C3

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

Color values

HEX#4757C3
RGBrgb(71, 87, 195)
HSLhsl(232, 51%, 52%)
HSVhsv(232, 64%, 76%)
CMYKcmyk(63.6%, 55.4%, 0%, 23.5%)
CIE-LABlab(41.37, 27.96, -58.54)
CIE-LCHlch(41.37, 64.87, 295.54°)
OKLaboklab(50.54% 0.0075 -0.1682)
OKLCHoklch(50.54% 0.168 272.5)
XYZxyz(15.8538, 12.0948, 53.1182)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757C3 #C3B347
analogous
#4795C3 #4757C3 #7547C3
triadic
#4757C3 #C34757 #57C347
tetradic
#4757C3 #C34795 #C3B347 #47C375
square
#4757C3 #C34795 #C3B347 #47C375
split-complementary
#4757C3 #C37547 #95C347
monochromatic
#232D6C #32409A #4757C3 #7581D2 #A3ABE1

Accessibility & contrast

On white

6.14
#4757C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4757C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757C3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757C3#FFFFFF#000000##FFFFFF
##4757C31.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4757c3;
/* rgb */ color: rgb(71, 87, 195);
/* oklch */ color: oklch(50.5% 0.168 272.5);
Tailwind
colors: {
  custom: {
    50: '#8786d6',
    500: '#4757c3',
    950: '#000000',
  },
}
SCSS
$custom: #4757c3;
$custom-light: #8786d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4757c3",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 195
  },
  "hsl": {
    "h": 232.258,
    "s": 50.82,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.16836,
    "h": 272.5
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#4757C3
secondary
#CEC798
accent
#C84DDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4757C3

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

Preview Lab → · Contrast checker → · Palette generator →

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