#4C5FD8#4C5FD8

#4C5FD8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.185 H 271.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4C5FD8
RGBrgb(76, 95, 216)
HSLhsl(232, 64%, 57%)
HSVhsv(232, 65%, 85%)
CMYKcmyk(64.8%, 56%, 0%, 15.3%)
CIE-LABlab(45.19, 30.97, -64.41)
CIE-LCHlch(45.19, 71.47, 295.68°)
OKLaboklab(53.95% 0.0063 -0.1853)
OKLCHoklch(53.95% 0.185 271.9)
XYZxyz(19.4632, 14.6770, 66.7597)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FD8 #D8C54C
analogous
#4CA5D8 #4C5FD8 #7F4CD8
triadic
#4C5FD8 #D84C5F #5FD84C
tetradic
#4C5FD8 #D84CA5 #D8C54C #4CD87F
square
#4C5FD8 #D84CA5 #D8C54C #4CD87F
split-complementary
#4C5FD8 #D87F4C #A5D84C
monochromatic
#1E2D8B #293DBE #4C5FD8 #7E8CE3 #B1B9EE

Accessibility & contrast

On white

5.34
#4C5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4C5FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FD8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FD8#FFFFFF#000000##FFFFFF
##4C5FD81.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c5fd8;
/* rgb */ color: rgb(76, 95, 216);
/* oklch */ color: oklch(53.9% 0.185 271.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ce5',
    500: '#4c5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fd8;
$custom-light: #8d8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fd8",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 231.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.18537,
    "h": 271.9
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#4C5FD8
secondary
#DCD5A4
accent
#D141E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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