#4C5DFD#4C5DFD

#4C5DFD is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.235 H 271.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4C5DFD
RGBrgb(76, 93, 253)
HSLhsl(234, 98%, 65%)
HSVhsv(234, 70%, 99%)
CMYKcmyk(70%, 63.2%, 0%, 0.8%)
CIE-LABlab(47.57, 44.73, -81.37)
CIE-LCHlch(47.57, 92.86, 298.80°)
OKLaboklab(56.6% 0.0072 -0.2351)
OKLCHoklch(56.6% 0.235 271.7)
XYZxyz(24.6185, 16.4546, 94.7881)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5DFD #FDEC4C
analogous
#4CB6FD #4C5DFD #934CFD
triadic
#4C5DFD #FD4C5D #5DFD4C
tetradic
#4C5DFD #FD4CB6 #FDEC4C #4CFD93
square
#4C5DFD #FD4CB6 #FDEC4C #4CFD93
split-complementary
#4C5DFD #FD934C #B6FD4C
monochromatic
#0216CC #0F26FC #4C5DFD #8994FE #C5CBFE

Accessibility & contrast

On white

4.89
#4C5DFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4C5DFD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5DFD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5DFD#FFFFFF#000000##FFFFFF
##4C5DFD1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0069FA
Tritanopia (blue-blind)
#0087A5
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c5dfd;
/* rgb */ color: rgb(76, 93, 253);
/* oklch */ color: oklch(56.6% 0.235 271.7);
Tailwind
colors: {
  custom: {
    50: '#948bff',
    500: '#4c5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #4c5dfd;
$custom-light: #948bff;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5dfd",
  "rgb": {
    "r": 76,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 234.237,
    "s": 97.79,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56595,
    "c": 0.23519,
    "h": 271.7
  },
  "luminance": 0.16457
}

Semantic roles & 50–950 ramp

primary
#4C5DFD
secondary
#F1EBB4
accent
#CF00E6
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #4C5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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