#4C5ECD#4C5ECD

#4C5ECD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.172 H 272.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4C5ECD
RGBrgb(76, 94, 205)
HSLhsl(232, 56%, 55%)
HSVhsv(232, 63%, 80%)
CMYKcmyk(62.9%, 54.1%, 0%, 19.6%)
CIE-LABlab(44.16, 27.82, -59.78)
CIE-LCHlch(44.16, 65.94, 294.96°)
OKLaboklab(52.93% 0.0067 -0.1716)
OKLCHoklch(52.93% 0.172 272.2)
XYZxyz(17.9990, 13.9482, 59.4895)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5ECD #CDBB4C
analogous
#4C9ECD #4C5ECD #7B4CCD
triadic
#4C5ECD #CD4C5E #5ECD4C
tetradic
#4C5ECD #CD4C9E #CDBB4C #4CCD7B
square
#4C5ECD #CD4C9E #CDBB4C #4CCD7B
split-complementary
#4C5ECD #CD7B4C #9ECD4C
monochromatic
#232F7C #3041AC #4C5ECD #7C89DA #ACB4E8

Accessibility & contrast

On white

5.54
#4C5ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4C5ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5ECD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5ECD#FFFFFF#000000##FFFFFF
##4C5ECD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6ED1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c5ecd;
/* rgb */ color: rgb(76, 94, 205);
/* oklch */ color: oklch(52.9% 0.172 272.2);
Tailwind
colors: {
  custom: {
    50: '#8b8bdd',
    500: '#4c5ecd',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ecd;
$custom-light: #8b8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ecd",
  "rgb": {
    "r": 76,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 231.628,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.17178,
    "h": 272.2
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#4C5ECD
secondary
#D5CE9F
accent
#CA48E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C5ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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