#4D3FAA#4D3FAA

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

Color values

HEX#4D3FAA
RGBrgb(77, 63, 170)
HSLhsl(248, 46%, 46%)
HSVhsv(248, 63%, 67%)
CMYKcmyk(54.7%, 62.9%, 0%, 33.3%)
CIE-LABlab(34.05, 35.72, -55.66)
CIE-LCHlch(34.05, 66.13, 302.69°)
OKLaboklab(44.65% 0.0382 -0.1597)
OKLCHoklch(44.65% 0.164 283.5)
XYZxyz(12.0916, 8.0344, 38.9361)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3FAA #9CAA3F
analogous
#3F67AA #4D3FAA #823FAA
triadic
#4D3FAA #AA4D3F #3FAA4D
tetradic
#4D3FAA #AA3F67 #9CAA3F #3FAA82
square
#4D3FAA #AA3F67 #9CAA3F #3FAA82
split-complementary
#4D3FAA #AA823F #67AA3F
monochromatic
#251E51 #392E7D #4D3FAA #6F62C5 #978ED5

Accessibility & contrast

On white

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

On black

2.61
#4D3FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D3FAA#FFFFFF#000000##FFFFFF
##4D3FAA1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#24596E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3faa;
/* rgb */ color: rgb(77, 63, 170);
/* oklch */ color: oklch(44.6% 0.164 283.5);
Tailwind
colors: {
  custom: {
    50: '#8775c4',
    500: '#4d3faa',
    950: '#000000',
  },
}
SCSS
$custom: #4d3faa;
$custom-light: #8775c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3faa",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 247.85,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.16425,
    "h": 283.5
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#4D3FAA
secondary
#B8C085
accent
#D652C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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