#4D3EA2#4D3EA2

#4D3EA2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.155 H 284.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4D3EA2
RGBrgb(77, 62, 162)
HSLhsl(249, 45%, 44%)
HSVhsv(249, 62%, 64%)
CMYKcmyk(52.5%, 61.7%, 0%, 36.5%)
CIE-LABlab(33.20, 33.80, -52.24)
CIE-LCHlch(33.20, 62.22, 302.90°)
OKLaboklab(43.83% 0.0398 -0.1497)
OKLCHoklch(43.83% 0.155 284.9)
XYZxyz(11.3028, 7.6311, 35.0528)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EA2 #93A23E
analogous
#3E61A2 #4D3EA2 #7F3EA2
triadic
#4D3EA2 #A24D3E #3EA24D
tetradic
#4D3EA2 #A23E61 #93A23E #3EA27F
square
#4D3EA2 #A23E61 #93A23E #3EA27F
split-complementary
#4D3EA2 #A27F3E #61A23E
monochromatic
#231C49 #382D76 #4D3EA2 #6B5CC1 #9489D2

Accessibility & contrast

On white

8.31
#4D3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4D3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EA2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EA2#FFFFFF#000000##FFFFFF
##4D3EA21.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#2C566A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d3ea2;
/* rgb */ color: rgb(77, 62, 162);
/* oklch */ color: oklch(43.8% 0.155 284.9);
Tailwind
colors: {
  custom: {
    50: '#8674be',
    500: '#4d3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ea2;
$custom-light: #8674be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ea2",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 249,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43829,
    "c": 0.15488,
    "h": 284.9
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#4D3EA2
secondary
#B3BC80
accent
#D453C1
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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