#4C5CD2#4C5CD2

#4C5CD2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.9% C 0.181 H 272.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4C5CD2
RGBrgb(76, 92, 210)
HSLhsl(233, 60%, 56%)
HSVhsv(233, 64%, 82%)
CMYKcmyk(63.8%, 56.2%, 0%, 17.6%)
CIE-LABlab(44.01, 30.79, -62.90)
CIE-LCHlch(44.01, 70.03, 296.08°)
OKLaboklab(52.93% 0.0087 -0.1808)
OKLCHoklch(52.93% 0.181 272.8)
XYZxyz(18.4366, 13.8423, 62.6605)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5CD2 #D2C24C
analogous
#4C9FD2 #4C5CD2 #7F4CD2
triadic
#4C5CD2 #D24C5C #5CD24C
tetradic
#4C5CD2 #D24C9F #D2C24C #4CD27F
square
#4C5CD2 #D24C9F #D2C24C #4CD27F
split-complementary
#4C5CD2 #D27F4C #9FD24C
monochromatic
#212D83 #2D3DB4 #4C5CD2 #7D89DE #AEB5EB

Accessibility & contrast

On white

5.57
#4C5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4C5CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5CD2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5CD2#FFFFFF#000000##FFFFFF
##4C5CD21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c5cd2;
/* rgb */ color: rgb(76, 92, 210);
/* oklch */ color: oklch(52.9% 0.181 272.8);
Tailwind
colors: {
  custom: {
    50: '#8c8ae1',
    500: '#4c5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #4c5cd2;
$custom-light: #8c8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5cd2",
  "rgb": {
    "r": 76,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 232.836,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.18105,
    "h": 272.8
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#4C5CD2
secondary
#D9D2A1
accent
#D045E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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