#4C5FCD#4C5FCD

#4C5FCD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.171 H 271.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4C5FCD
RGBrgb(76, 95, 205)
HSLhsl(231, 56%, 55%)
HSVhsv(231, 63%, 80%)
CMYKcmyk(62.9%, 53.7%, 0%, 19.6%)
CIE-LABlab(44.41, 27.19, -59.37)
CIE-LCHlch(44.41, 65.30, 294.61°)
OKLaboklab(53.12% 0.0058 -0.1704)
OKLCHoklch(53.12% 0.171 271.9)
XYZxyz(18.0885, 14.1271, 59.5194)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FCD #CDBA4C
analogous
#4C9FCD #4C5FCD #7A4CCD
triadic
#4C5FCD #CD4C5F #5FCD4C
tetradic
#4C5FCD #CD4C9F #CDBA4C #4CCD7A
square
#4C5FCD #CD4C9F #CDBA4C #4CCD7A
split-complementary
#4C5FCD #CD7A4C #9FCD4C
monochromatic
#23307C #3042AC #4C5FCD #7C8ADA #ACB5E8

Accessibility & contrast

On white

5.49
#4C5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4C5FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FCD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FCD#FFFFFF#000000##FFFFFF
##4C5FCD1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136FD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c5fcd;
/* rgb */ color: rgb(76, 95, 205);
/* oklch */ color: oklch(53.1% 0.171 271.9);
Tailwind
colors: {
  custom: {
    50: '#8b8cdd',
    500: '#4c5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fcd;
$custom-light: #8b8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fcd",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 231.163,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53123,
    "c": 0.17052,
    "h": 271.9
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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