#4D3CB9#4D3CB9

#4D3CB9 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.4% C 0.187 H 282.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4D3CB9
RGBrgb(77, 60, 185)
HSLhsl(248, 51%, 48%)
HSVhsv(248, 68%, 73%)
CMYKcmyk(58.4%, 67.6%, 0%, 27.5%)
CIE-LABlab(34.62, 42.23, -63.64)
CIE-LCHlch(34.62, 76.37, 303.57°)
OKLaboklab(45.44% 0.0394 -0.1832)
OKLCHoklch(45.44% 0.187 282.1)
XYZxyz(13.4307, 8.3114, 46.7861)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CB9 #A8B93C
analogous
#3C69B9 #4D3CB9 #8B3CB9
triadic
#4D3CB9 #B94D3C #3CB94D
tetradic
#4D3CB9 #B93C69 #A8B93C #3CB98B
square
#4D3CB9 #B93C69 #A8B93C #3CB98B
split-complementary
#4D3CB9 #B98B3C #69B93C
monochromatic
#271E5D #3A2D8B #4D3CB9 #7365CD #9D93DC

Accessibility & contrast

On white

7.89
#4D3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4D3CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CB9
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CB9#FFFFFF#000000##FFFFFF
##4D3CB91.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#0A5C75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3cb9;
/* rgb */ color: rgb(77, 60, 185);
/* oklch */ color: oklch(45.4% 0.187 282.1);
Tailwind
colors: {
  custom: {
    50: '#8a73cf',
    500: '#4d3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #4d3cb9;
$custom-light: #8a73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3cb9",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 248.16,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.18737,
    "h": 282.1
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#4D3CB9
secondary
#BFC789
accent
#DA4DC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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