#4D3DAC#4D3DAC

#4D3DAC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.169 H 283.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4D3DAC
RGBrgb(77, 61, 172)
HSLhsl(249, 48%, 46%)
HSVhsv(249, 65%, 67%)
CMYKcmyk(55.2%, 64.5%, 0%, 32.5%)
CIE-LABlab(33.76, 37.56, -57.33)
CIE-LCHlch(33.76, 68.54, 303.23°)
OKLaboklab(44.48% 0.04 -0.1647)
OKLCHoklch(44.48% 0.169 283.7)
XYZxyz(12.1734, 7.8931, 39.9038)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DAC #9CAC3D
analogous
#3D64AC #4D3DAC #843DAC
triadic
#4D3DAC #AC4D3D #3DAC4D
tetradic
#4D3DAC #AC3D64 #9CAC3D #3DAC84
square
#4D3DAC #AC3D64 #9CAC3D #3DAC84
split-complementary
#4D3DAC #AC843D #64AC3D
monochromatic
#251D52 #392D7F #4D3DAC #6F60C7 #978DD7

Accessibility & contrast

On white

8.14
#4D3DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4D3DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3DAC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DAC#FFFFFF#000000##FFFFFF
##4D3DAC1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#22586F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d3dac;
/* rgb */ color: rgb(77, 61, 172);
/* oklch */ color: oklch(44.5% 0.169 283.7);
Tailwind
colors: {
  custom: {
    50: '#8873c6',
    500: '#4d3dac',
    950: '#000000',
  },
}
SCSS
$custom: #4d3dac;
$custom-light: #8873c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3dac",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 248.649,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44481,
    "c": 0.16947,
    "h": 283.7
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#4D3DAC
secondary
#B8C184
accent
#D751C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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