#4C4DD5#4C4DD5

#4C4DD5 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.5% C 0.203 H 276.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4C4DD5
RGBrgb(76, 77, 213)
HSLhsl(240, 62%, 57%)
HSVhsv(240, 64%, 84%)
CMYKcmyk(64.3%, 63.8%, 0%, 16.5%)
CIE-LABlab(40.65, 41.03, -70.09)
CIE-LCHlch(40.65, 81.21, 300.35°)
OKLaboklab(50.52% 0.0212 -0.2021)
OKLCHoklch(50.52% 0.203 276)
XYZxyz(17.6407, 11.6469, 64.2563)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DD5 #D5D44C
analogous
#4C92D5 #4C4DD5 #904CD5
triadic
#4C4DD5 #D54C4D #4DD54C
tetradic
#4C4DD5 #D54C92 #D5D44C #4CD590
square
#4C4DD5 #D54C92 #D5D44C #4CD590
split-complementary
#4C4DD5 #D5904C #92D54C
monochromatic
#202087 #2B2CB9 #4C4DD5 #7E7EE1 #AFB0EC

Accessibility & contrast

On white

6.31
#4C4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4C4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4DD5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DD5#FFFFFF#000000##FFFFFF
##4C4DD51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c4dd5;
/* rgb */ color: rgb(76, 77, 213);
/* oklch */ color: oklch(50.5% 0.203 276.0);
Tailwind
colors: {
  custom: {
    50: '#8d7fe3',
    500: '#4c4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #4c4dd5;
$custom-light: #8d7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4dd5",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 239.562,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.20319,
    "h": 276
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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