#4D3EA4#4D3EA4

#4D3EA4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.158 H 284.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4D3EA4
RGBrgb(77, 62, 164)
HSLhsl(249, 45%, 44%)
HSVhsv(249, 62%, 64%)
CMYKcmyk(53%, 62.2%, 0%, 35.7%)
CIE-LABlab(33.36, 34.43, -53.20)
CIE-LCHlch(33.36, 63.37, 302.91°)
OKLaboklab(43.99% 0.0397 -0.1525)
OKLCHoklch(43.99% 0.158 284.6)
XYZxyz(11.4820, 7.7027, 35.9965)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EA4 #95A43E
analogous
#3E62A4 #4D3EA4 #803EA4
triadic
#4D3EA4 #A44D3E #3EA44D
tetradic
#4D3EA4 #A43E62 #95A43E #3EA480
square
#4D3EA4 #A43E62 #95A43E #3EA480
split-complementary
#4D3EA4 #A4803E #62A43E
monochromatic
#231C4B #382D78 #4D3EA4 #6C5DC2 #948AD3

Accessibility & contrast

On white

8.27
#4D3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4D3EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EA4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EA4#FFFFFF#000000##FFFFFF
##4D3EA41.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#2A566B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d3ea4;
/* rgb */ color: rgb(77, 62, 164);
/* oklch */ color: oklch(44.0% 0.158 284.6);
Tailwind
colors: {
  custom: {
    50: '#8774c0',
    500: '#4d3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ea4;
$custom-light: #8774c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ea4",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 248.824,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.15757,
    "h": 284.6
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#4D3EA4
secondary
#B4BD81
accent
#D553C2
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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