#4C5ACD#4C5ACD

#4C5ACD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.177 H 273.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4C5ACD
RGBrgb(76, 90, 205)
HSLhsl(233, 56%, 55%)
HSVhsv(233, 63%, 80%)
CMYKcmyk(62.9%, 56.1%, 0%, 19.6%)
CIE-LABlab(43.15, 30.34, -61.42)
CIE-LCHlch(43.15, 68.50, 296.28°)
OKLaboklab(52.17% 0.0104 -0.1765)
OKLCHoklch(52.17% 0.177 273.4)
XYZxyz(17.6524, 13.2551, 59.3740)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5ACD #CDBF4C
analogous
#4C9BCD #4C5ACD #7E4CCD
triadic
#4C5ACD #CD4C5A #5ACD4C
tetradic
#4C5ACD #CD4C9B #CDBF4C #4CCD7E
square
#4C5ACD #CD4C9B #CDBF4C #4CCD7E
split-complementary
#4C5ACD #CD7E4C #9BCD4C
monochromatic
#232C7C #303DAC #4C5ACD #7C86DA #ACB2E8

Accessibility & contrast

On white

5.75
#4C5ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4C5ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5ACD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5ACD#FFFFFF#000000##FFFFFF
##4C5ACD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c5acd;
/* rgb */ color: rgb(76, 90, 205);
/* oklch */ color: oklch(52.2% 0.177 273.4);
Tailwind
colors: {
  custom: {
    50: '#8b88dd',
    500: '#4c5acd',
    950: '#000000',
  },
}
SCSS
$custom: #4c5acd;
$custom-light: #8b88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5acd",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 233.488,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.17683,
    "h": 273.4
  },
  "luminance": 0.13257
}

Semantic roles & 50–950 ramp

primary
#4C5ACD
secondary
#D5D09F
accent
#CF48E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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