#4C5DC7#4C5DC7

#4C5DC7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.165 H 272.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4C5DC7
RGBrgb(76, 93, 199)
HSLhsl(232, 52%, 54%)
HSVhsv(232, 62%, 78%)
CMYKcmyk(61.8%, 53.3%, 0%, 22%)
CIE-LABlab(43.49, 26.40, -57.41)
CIE-LCHlch(43.49, 63.18, 294.70°)
OKLaboklab(52.3% 0.0073 -0.1647)
OKLCHoklch(52.3% 0.165 272.5)
XYZxyz(17.2002, 13.4873, 55.7187)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5DC7 #C7B64C
analogous
#4C9BC7 #4C5DC7 #794CC7
triadic
#4C5DC7 #C74C5D #5DC74C
tetradic
#4C5DC7 #C74C9B #C7B64C #4CC779
square
#4C5DC7 #C74C9B #C7B64C #4CC779
split-complementary
#4C5DC7 #C7794C #9BC74C
monochromatic
#242F74 #3342A3 #4C5DC7 #7B87D6 #A9B1E4

Accessibility & contrast

On white

5.68
#4C5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4C5DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5DC7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5DC7#FFFFFF#000000##FFFFFF
##4C5DC71.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186CCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c5dc7;
/* rgb */ color: rgb(76, 93, 199);
/* oklch */ color: oklch(52.3% 0.165 272.5);
Tailwind
colors: {
  custom: {
    50: '#8a8ad9',
    500: '#4c5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #4c5dc7;
$custom-light: #8a8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5dc7",
  "rgb": {
    "r": 76,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 231.707,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52296,
    "c": 0.16483,
    "h": 272.5
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#4C5DC7
secondary
#D2CA9D
accent
#C84CDC
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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