#4D4CD5#4D4CD5

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

Color values

HEX#4D4CD5
RGBrgb(77, 76, 213)
HSLhsl(240, 62%, 57%)
HSVhsv(240, 64%, 84%)
CMYKcmyk(63.8%, 64.3%, 0%, 16.5%)
CIE-LABlab(40.49, 41.77, -70.34)
CIE-LCHlch(40.49, 81.81, 300.70°)
OKLaboklab(50.42% 0.0232 -0.2028)
OKLCHoklch(50.42% 0.204 276.5)
XYZxyz(17.6513, 11.5493, 64.2369)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CD5 #D4D54C
analogous
#4C90D5 #4D4CD5 #924CD5
triadic
#4D4CD5 #D54D4C #4CD54D
tetradic
#4D4CD5 #D54C90 #D4D54C #4CD592
square
#4D4CD5 #D54C90 #D4D54C #4CD592
split-complementary
#4D4CD5 #D5924C #90D54C
monochromatic
#202087 #2C2BB9 #4D4CD5 #7E7EE1 #B0AFEC

Accessibility & contrast

On white

6.34
#4D4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4D4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CD5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CD5#FFFFFF#000000##FFFFFF
##4D4CD51.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.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: #4d4cd5;
/* rgb */ color: rgb(77, 76, 213);
/* oklch */ color: oklch(50.4% 0.204 276.5);
Tailwind
colors: {
  custom: {
    50: '#8e7ee3',
    500: '#4d4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cd5;
$custom-light: #8e7ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cd5",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 240.438,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50423,
    "c": 0.20413,
    "h": 276.5
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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