#4C57CD#4C57CD

#4C57CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.181 H 274.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4C57CD
RGBrgb(76, 87, 205)
HSLhsl(235, 56%, 55%)
HSVhsv(235, 63%, 80%)
CMYKcmyk(62.9%, 57.6%, 0%, 19.6%)
CIE-LABlab(42.40, 32.21, -62.63)
CIE-LCHlch(42.40, 70.43, 297.22°)
OKLaboklab(51.62% 0.0131 -0.1801)
OKLCHoklch(51.62% 0.181 274.2)
XYZxyz(17.4045, 12.7592, 59.2914)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57CD #CDC24C
analogous
#4C97CD #4C57CD #824CCD
triadic
#4C57CD #CD4C57 #57CD4C
tetradic
#4C57CD #CD4C97 #CDC24C #4CCD82
square
#4C57CD #CD4C97 #CDC24C #4CCD82
split-complementary
#4C57CD #CD824C #97CD4C
monochromatic
#232A7C #303BAC #4C57CD #7C84DA #ACB1E8

Accessibility & contrast

On white

5.91
#4C57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4C57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57CD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57CD#FFFFFF#000000##FFFFFF
##4C57CD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c57cd;
/* rgb */ color: rgb(76, 87, 205);
/* oklch */ color: oklch(51.6% 0.181 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b86dd',
    500: '#4c57cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c57cd;
$custom-light: #8b86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57cd",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 234.884,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.1806,
    "h": 274.2
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#4C57CD
secondary
#D5D19F
accent
#D348E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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