#4C5FC5#4C5FC5

#4C5FC5 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.160 H 271.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4C5FC5
RGBrgb(76, 95, 197)
HSLhsl(231, 51%, 54%)
HSVhsv(231, 61%, 77%)
CMYKcmyk(61.4%, 51.8%, 0%, 22.7%)
CIE-LABlab(43.87, 24.45, -55.63)
CIE-LCHlch(43.87, 60.76, 293.73°)
OKLaboklab(52.54% 0.0052 -0.1594)
OKLCHoklch(52.54% 0.16 271.9)
XYZxyz(17.1474, 13.7507, 54.5630)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FC5 #C5B24C
analogous
#4C9BC5 #4C5FC5 #754CC5
triadic
#4C5FC5 #C54C5F #5FC54C
tetradic
#4C5FC5 #C54C9B #C5B24C #4CC575
square
#4C5FC5 #C54C9B #C5B24C #4CC575
split-complementary
#4C5FC5 #C5754C #9BC54C
monochromatic
#253172 #3445A0 #4C5FC5 #7A88D4 #A8B2E3

Accessibility & contrast

On white

5.60
#4C5FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4C5FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FC5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FC5#FFFFFF#000000##FFFFFF
##4C5FC51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236DC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c5fc5;
/* rgb */ color: rgb(76, 95, 197);
/* oklch */ color: oklch(52.5% 0.160 271.9);
Tailwind
colors: {
  custom: {
    50: '#898cd7',
    500: '#4c5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fc5;
$custom-light: #898cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fc5",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 230.579,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.15951,
    "h": 271.9
  },
  "luminance": 0.13752
}

Semantic roles & 50–950 ramp

primary
#4C5FC5
secondary
#D0C89C
accent
#C44DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4C5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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