#4D3DB1#4D3DB1

#4D3DB1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.9% C 0.176 H 283.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4D3DB1
RGBrgb(77, 61, 177)
HSLhsl(248, 49%, 47%)
HSVhsv(248, 66%, 69%)
CMYKcmyk(56.5%, 65.5%, 0%, 30.6%)
CIE-LABlab(34.17, 39.13, -59.65)
CIE-LCHlch(34.17, 71.34, 303.27°)
OKLaboklab(44.91% 0.0395 -0.1715)
OKLCHoklch(44.91% 0.176 283)
XYZxyz(12.6627, 8.0888, 42.4805)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DB1 #A1B13D
analogous
#3D67B1 #4D3DB1 #873DB1
triadic
#4D3DB1 #B14D3D #3DB14D
tetradic
#4D3DB1 #B13D67 #A1B13D #3DB187
square
#4D3DB1 #B13D67 #A1B13D #3DB187
split-complementary
#4D3DB1 #B1873D #67B13D
monochromatic
#251E56 #392D83 #4D3DB1 #7062C9 #9A90D9

Accessibility & contrast

On white

8.02
#4D3DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4D3DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3DB1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DB1#FFFFFF#000000##FFFFFF
##4D3DB11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#1B5A71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3db1;
/* rgb */ color: rgb(77, 61, 177);
/* oklch */ color: oklch(44.9% 0.176 283.0);
Tailwind
colors: {
  custom: {
    50: '#8974c9',
    500: '#4d3db1',
    950: '#000000',
  },
}
SCSS
$custom: #4d3db1;
$custom-light: #8974c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3db1",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 248.276,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44905,
    "c": 0.17595,
    "h": 283
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#4D3DB1
secondary
#BBC486
accent
#D850C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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