#4D3CA5#4D3CA5

#4D3CA5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.162 H 284.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4D3CA5
RGBrgb(77, 60, 165)
HSLhsl(250, 47%, 44%)
HSVhsv(250, 64%, 65%)
CMYKcmyk(53.3%, 63.6%, 0%, 35.3%)
CIE-LABlab(32.97, 35.96, -54.42)
CIE-LCHlch(32.97, 65.22, 303.46°)
OKLaboklab(43.74% 0.0417 -0.1561)
OKLCHoklch(43.74% 0.162 284.9)
XYZxyz(11.4659, 7.5255, 36.4384)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CA5 #94A53C
analogous
#3C60A5 #4D3CA5 #823CA5
triadic
#4D3CA5 #A54D3C #3CA54D
tetradic
#4D3CA5 #A53C60 #94A53C #3CA582
square
#4D3CA5 #A53C60 #94A53C #3CA582
split-complementary
#4D3CA5 #A5823C #60A53C
monochromatic
#231B4B #382C78 #4D3CA5 #6C5BC3 #9488D4

Accessibility & contrast

On white

8.38
#4D3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CA5
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CA5#FFFFFF#000000##FFFFFF
##4D3CA51.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#29556B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d3ca5;
/* rgb */ color: rgb(77, 60, 165);
/* oklch */ color: oklch(43.7% 0.162 284.9);
Tailwind
colors: {
  custom: {
    50: '#8773c0',
    500: '#4d3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ca5;
$custom-light: #8773c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ca5",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 249.714,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43736,
    "c": 0.16157,
    "h": 284.9
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#4D3CA5
secondary
#B4BE7F
accent
#D651C1
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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