#4C5ECC#4C5ECC

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

Color values

HEX#4C5ECC
RGBrgb(76, 94, 204)
HSLhsl(232, 56%, 55%)
HSVhsv(232, 63%, 80%)
CMYKcmyk(62.7%, 53.9%, 0%, 20%)
CIE-LABlab(44.09, 27.48, -59.32)
CIE-LCHlch(44.09, 65.37, 294.86°)
OKLaboklab(52.86% 0.0067 -0.1703)
OKLCHoklch(52.86% 0.17 272.2)
XYZxyz(17.8786, 13.9000, 58.8558)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5ECC #CCBA4C
analogous
#4C9ECC #4C5ECC #7A4CCC
triadic
#4C5ECC #CC4C5E #5ECC4C
tetradic
#4C5ECC #CC4C9E #CCBA4C #4CCC7A
square
#4C5ECC #CC4C9E #CCBA4C #4CCC7A
split-complementary
#4C5ECC #CC7A4C #9ECC4C
monochromatic
#232F7B #3142AA #4C5ECC #7C89DA #ABB4E7

Accessibility & contrast

On white

5.55
#4C5ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4C5ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5ECC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5ECC#FFFFFF#000000##FFFFFF
##4C5ECC1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ED0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c5ecc;
/* rgb */ color: rgb(76, 94, 204);
/* oklch */ color: oklch(52.9% 0.170 272.2);
Tailwind
colors: {
  custom: {
    50: '#8b8bdc',
    500: '#4c5ecc',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ecc;
$custom-light: #8b8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ecc",
  "rgb": {
    "r": 76,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 231.563,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.17041,
    "h": 272.2
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#4C5ECC
secondary
#D5CD9F
accent
#CA49DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C5ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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