#4C57D2#4C57D2

#4C57D2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.187 H 274.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4C57D2
RGBrgb(76, 87, 210)
HSLhsl(235, 60%, 56%)
HSVhsv(235, 64%, 82%)
CMYKcmyk(63.8%, 58.6%, 0%, 17.6%)
CIE-LABlab(42.77, 33.91, -64.91)
CIE-LCHlch(42.77, 73.23, 297.58°)
OKLaboklab(52.01% 0.0131 -0.1868)
OKLCHoklch(52.01% 0.187 274)
XYZxyz(18.0177, 13.0045, 62.5209)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57D2 #D2C74C
analogous
#4C9AD2 #4C57D2 #844CD2
triadic
#4C57D2 #D24C57 #57D24C
tetradic
#4C57D2 #D24C9A #D2C74C #4CD284
square
#4C57D2 #D24C9A #D2C74C #4CD284
split-complementary
#4C57D2 #D2844C #9AD24C
monochromatic
#212983 #2D38B4 #4C57D2 #7D85DE #AEB3EB

Accessibility & contrast

On white

5.83
#4C57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4C57D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57D2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57D2#FFFFFF#000000##FFFFFF
##4C57D21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c57d2;
/* rgb */ color: rgb(76, 87, 210);
/* oklch */ color: oklch(52.0% 0.187 274.0);
Tailwind
colors: {
  custom: {
    50: '#8c86e1',
    500: '#4c57d2',
    950: '#000000',
  },
}
SCSS
$custom: #4c57d2;
$custom-light: #8c86e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57d2",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 235.075,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52008,
    "c": 0.18725,
    "h": 274
  },
  "luminance": 0.13006
}

Semantic roles & 50–950 ramp

primary
#4C57D2
secondary
#D9D4A1
accent
#D645E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C57D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4C57D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva