#4D3DB9#4D3DB9

#4D3DB9 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.6% C 0.186 H 281.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4D3DB9
RGBrgb(77, 61, 185)
HSLhsl(248, 50%, 48%)
HSVhsv(248, 67%, 73%)
CMYKcmyk(58.4%, 67%, 0%, 27.5%)
CIE-LABlab(34.84, 41.65, -63.29)
CIE-LCHlch(34.84, 75.76, 303.35°)
OKLaboklab(45.6% 0.0385 -0.1822)
OKLCHoklch(45.6% 0.186 281.9)
XYZxyz(13.4835, 8.4172, 46.8037)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DB9 #A9B93D
analogous
#3D6BB9 #4D3DB9 #8B3DB9
triadic
#4D3DB9 #B94D3D #3DB94D
tetradic
#4D3DB9 #B93D6B #A9B93D #3DB98B
square
#4D3DB9 #B93D6B #A9B93D #3DB98B
split-complementary
#4D3DB9 #B98B3D #6BB93D
monochromatic
#271F5D #3A2E8B #4D3DB9 #7466CD #9E95DC

Accessibility & contrast

On white

7.83
#4D3DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4D3DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3DB9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DB9#FFFFFF#000000##FFFFFF
##4D3DB91.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#095D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d3db9;
/* rgb */ color: rgb(77, 61, 185);
/* oklch */ color: oklch(45.6% 0.186 281.9);
Tailwind
colors: {
  custom: {
    50: '#8a74cf',
    500: '#4d3db9',
    950: '#000000',
  },
}
SCSS
$custom: #4d3db9;
$custom-light: #8a74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3db9",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 247.742,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.18619,
    "h": 281.9
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#4D3DB9
secondary
#BFC78B
accent
#DA4EC8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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