#4C5CCC#4C5CCC

#4C5CCC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.173 H 272.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4C5CCC
RGBrgb(76, 92, 204)
HSLhsl(233, 56%, 55%)
HSVhsv(233, 63%, 80%)
CMYKcmyk(62.7%, 54.9%, 0%, 20%)
CIE-LABlab(43.58, 28.74, -60.14)
CIE-LCHlch(43.58, 66.66, 295.54°)
OKLaboklab(52.47% 0.0085 -0.1727)
OKLCHoklch(52.47% 0.173 272.8)
XYZxyz(17.7031, 13.5489, 58.7973)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5CCC #CCBC4C
analogous
#4C9CCC #4C5CCC #7C4CCC
triadic
#4C5CCC #CC4C5C #5CCC4C
tetradic
#4C5CCC #CC4C9C #CCBC4C #4CCC7C
square
#4C5CCC #CC4C9C #CCBC4C #4CCC7C
split-complementary
#4C5CCC #CC7C4C #9CCC4C
monochromatic
#232E7B #3140AA #4C5CCC #7C87DA #ABB3E7

Accessibility & contrast

On white

5.66
#4C5CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4C5CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5CCC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5CCC#FFFFFF#000000##FFFFFF
##4C5CCC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c5ccc;
/* rgb */ color: rgb(76, 92, 204);
/* oklch */ color: oklch(52.5% 0.173 272.8);
Tailwind
colors: {
  custom: {
    50: '#8b8adc',
    500: '#4c5ccc',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ccc;
$custom-light: #8b8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ccc",
  "rgb": {
    "r": 76,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 232.5,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.17295,
    "h": 272.8
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#4C5CCC
secondary
#D5CE9F
accent
#CC49DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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