#4C4CD5#4C4CD5

#4C4CD5 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.4% C 0.204 H 276.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4C4CD5
RGBrgb(76, 76, 213)
HSLhsl(240, 62%, 57%)
HSVhsv(240, 64%, 84%)
CMYKcmyk(64.3%, 64.3%, 0%, 16.5%)
CIE-LABlab(40.42, 41.63, -70.46)
CIE-LCHlch(40.42, 81.84, 300.58°)
OKLaboklab(50.36% 0.022 -0.2032)
OKLCHoklch(50.36% 0.204 276.2)
XYZxyz(17.5712, 11.5080, 64.2332)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CD5 #D5D54C
analogous
#4C91D5 #4C4CD5 #914CD5
triadic
#4C4CD5 #D54C4C #4CD54C
tetradic
#4C4CD5 #D54C91 #D5D54C #4CD591
square
#4C4CD5 #D54C91 #D5D54C #4CD591
split-complementary
#4C4CD5 #D5914C #91D54C
monochromatic
#202087 #2B2BB9 #4C4CD5 #7E7EE1 #AFAFEC

Accessibility & contrast

On white

6.36
#4C4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4C4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CD5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CD5#FFFFFF#000000##FFFFFF
##4C4CD51.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#006F8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c4cd5;
/* rgb */ color: rgb(76, 76, 213);
/* oklch */ color: oklch(50.4% 0.204 276.2);
Tailwind
colors: {
  custom: {
    50: '#8d7ee3',
    500: '#4c4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cd5;
$custom-light: #8d7ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cd5",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 240,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50357,
    "c": 0.20435,
    "h": 276.2
  },
  "luminance": 0.11509
}

Semantic roles & 50–950 ramp

primary
#4C4CD5
secondary
#DADAA2
accent
#E543E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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