#4D3ACD#4D3ACD

#4D3ACD is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.0% C 0.214 H 280.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4D3ACD
RGBrgb(77, 58, 205)
HSLhsl(248, 60%, 52%)
HSVhsv(248, 72%, 80%)
CMYKcmyk(62.4%, 71.7%, 0%, 19.6%)
CIE-LABlab(36.00, 49.54, -73.08)
CIE-LCHlch(36.00, 88.29, 304.13°)
OKLaboklab(46.98% 0.0375 -0.2108)
OKLCHoklch(46.98% 0.214 280.1)
XYZxyz(15.5896, 9.0105, 58.6634)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ACD #BACD3A
analogous
#3A71CD #4D3ACD #973ACD
triadic
#4D3ACD #CD4D3A #3ACD4D
tetradic
#4D3ACD #CD3A71 #BACD3A #3ACD97
square
#4D3ACD #CD3A71 #BACD3A #3ACD97
split-complementary
#4D3ACD #CD973A #71CD3A
monochromatic
#271C70 #3829A1 #4D3ACD #796BD9 #A59CE6

Accessibility & contrast

On white

7.49
#4D3ACD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4D3ACD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ACD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ACD#FFFFFF#000000##FFFFFF
##4D3ACD1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d3acd;
/* rgb */ color: rgb(77, 58, 205);
/* oklch */ color: oklch(47.0% 0.214 280.1);
Tailwind
colors: {
  custom: {
    50: '#8e73dd',
    500: '#4d3acd',
    950: '#000000',
  },
}
SCSS
$custom: #4d3acd;
$custom-light: #8e73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3acd",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 247.755,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46978,
    "c": 0.21413,
    "h": 280.1
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#4D3ACD
secondary
#C9D291
accent
#E345CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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