#4D3AAF#4D3AAF

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

Color values

HEX#4D3AAF
RGBrgb(77, 58, 175)
HSLhsl(250, 50%, 46%)
HSVhsv(250, 67%, 69%)
CMYKcmyk(56%, 66.9%, 0%, 31.4%)
CIE-LABlab(33.35, 40.27, -59.80)
CIE-LCHlch(33.35, 72.09, 303.96°)
OKLaboklab(44.26% 0.0425 -0.1719)
OKLCHoklch(44.26% 0.177 283.9)
XYZxyz(12.3091, 7.6983, 41.3864)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3AAF #9CAF3A
analogous
#3A61AF #4D3AAF #883AAF
triadic
#4D3AAF #AF4D3A #3AAF4D
tetradic
#4D3AAF #AF3A61 #9CAF3A #3AAF88
square
#4D3AAF #AF3A61 #9CAF3A #3AAF88
split-complementary
#4D3AAF #AF883A #61AF3A
monochromatic
#251C53 #392B81 #4D3AAF #6F5DC9 #978BD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D3AAF#FFFFFF#000000##FFFFFF
##4D3AAF1.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)
#0052B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#1E586F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d3aaf;
/* rgb */ color: rgb(77, 58, 175);
/* oklch */ color: oklch(44.3% 0.177 283.9);
Tailwind
colors: {
  custom: {
    50: '#8971c8',
    500: '#4d3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #4d3aaf;
$custom-light: #8971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3aaf",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 249.744,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.17708,
    "h": 283.9
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#4D3AAF
secondary
#B8C382
accent
#DA4EC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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