#4D3AB7#4D3AB7

#4D3AB7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 45.0% C 0.187 H 282.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4D3AB7
RGBrgb(77, 58, 183)
HSLhsl(249, 52%, 47%)
HSVhsv(249, 68%, 72%)
CMYKcmyk(57.9%, 68.3%, 0%, 28.2%)
CIE-LABlab(34.03, 42.75, -63.43)
CIE-LCHlch(34.03, 76.49, 303.98°)
OKLaboklab(44.96% 0.0414 -0.1826)
OKLCHoklch(44.96% 0.187 282.8)
XYZxyz(13.1182, 8.0219, 45.6477)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3AB7 #A4B73A
analogous
#3A66B7 #4D3AB7 #8C3AB7
triadic
#4D3AB7 #B74D3A #3AB74D
tetradic
#4D3AB7 #B73A66 #A4B73A #3AB78C
square
#4D3AB7 #B73A66 #A4B73A #3AB78C
split-complementary
#4D3AB7 #B78C3A #66B73A
monochromatic
#261D5A #392B89 #4D3AB7 #7261CD #9B90DC

Accessibility & contrast

On white

8.06
#4D3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4D3AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3AB7
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3AB7#FFFFFF#000000##FFFFFF
##4D3AB71.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#105B74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3ab7;
/* rgb */ color: rgb(77, 58, 183);
/* oklch */ color: oklch(45.0% 0.187 282.8);
Tailwind
colors: {
  custom: {
    50: '#8a72ce',
    500: '#4d3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ab7;
$custom-light: #8a72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ab7",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 249.12,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.1872,
    "h": 282.8
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#4D3AB7
secondary
#BDC786
accent
#DB4CC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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