#4D3EA1#4D3EA1

#4D3EA1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.154 H 285.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4D3EA1
RGBrgb(77, 62, 161)
HSLhsl(249, 44%, 44%)
HSVhsv(249, 61%, 63%)
CMYKcmyk(52.2%, 61.5%, 0%, 36.9%)
CIE-LABlab(33.13, 33.48, -51.76)
CIE-LCHlch(33.13, 61.65, 302.90°)
OKLaboklab(43.75% 0.0398 -0.1483)
OKLCHoklch(43.75% 0.154 285)
XYZxyz(11.2143, 7.5957, 34.5865)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EA1 #92A13E
analogous
#3E60A1 #4D3EA1 #7E3EA1
triadic
#4D3EA1 #A14D3E #3EA14D
tetradic
#4D3EA1 #A13E60 #92A13E #3EA17E
square
#4D3EA1 #A13E60 #92A13E #3EA17E
split-complementary
#4D3EA1 #A17E3E #60A13E
monochromatic
#231C49 #382D75 #4D3EA1 #6B5CC0 #9388D1

Accessibility & contrast

On white

8.34
#4D3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4D3EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EA1
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EA1#FFFFFF#000000##FFFFFF
##4D3EA11.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#2D5569
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d3ea1;
/* rgb */ color: rgb(77, 62, 161);
/* oklch */ color: oklch(43.7% 0.154 285.0);
Tailwind
colors: {
  custom: {
    50: '#8674be',
    500: '#4d3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ea1;
$custom-light: #8674be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ea1",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 249.091,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.15355,
    "h": 285
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#4D3EA1
secondary
#B3BC7F
accent
#D454C1
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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