#4C4DFD#4C4DFD

#4C4DFD is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.1% C 0.252 H 273.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4C4DFD
RGBrgb(76, 77, 253)
HSLhsl(240, 98%, 65%)
HSVhsv(240, 70%, 99%)
CMYKcmyk(70%, 69.6%, 0%, 0.8%)
CIE-LABlab(44.14, 53.97, -87.00)
CIE-LCHlch(44.14, 102.38, 301.81°)
OKLaboklab(54.11% 0.0167 -0.2516)
OKLCHoklch(54.11% 0.252 273.8)
XYZxyz(23.3581, 13.9338, 94.3680)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DFD #FDFC4C
analogous
#4CA6FD #4C4DFD #A44CFD
triadic
#4C4DFD #FD4C4D #4DFD4C
tetradic
#4C4DFD #FD4CA6 #FDFC4C #4CFDA4
square
#4C4DFD #FD4CA6 #FDFC4C #4CFDA4
split-complementary
#4C4DFD #FDA44C #A6FD4C
monochromatic
#0203CC #0F11FC #4C4DFD #8989FE #C5C5FE

Accessibility & contrast

On white

5.54
#4C4DFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4C4DFD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4DFD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DFD#FFFFFF#000000##FFFFFF
##4C4DFD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0060FA
Tritanopia (blue-blind)
#007EA0
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c4dfd;
/* rgb */ color: rgb(76, 77, 253);
/* oklch */ color: oklch(54.1% 0.252 273.8);
Tailwind
colors: {
  custom: {
    50: '#9580ff',
    500: '#4c4dfd',
    950: '#000000',
  },
}
SCSS
$custom: #4c4dfd;
$custom-light: #9580ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4dfd",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 253
  },
  "hsl": {
    "h": 239.661,
    "s": 97.79,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.25212,
    "h": 273.8
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#4C4DFD
secondary
#F1F1B4
accent
#E400E6
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4C4DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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