#4D3CB7#4D3CB7

#4D3CB7 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.3% C 0.185 H 282.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4D3CB7
RGBrgb(77, 60, 183)
HSLhsl(248, 51%, 48%)
HSVhsv(248, 67%, 72%)
CMYKcmyk(57.9%, 67.2%, 0%, 28.2%)
CIE-LABlab(34.45, 41.60, -62.74)
CIE-LCHlch(34.45, 75.28, 303.55°)
OKLaboklab(45.27% 0.0397 -0.1805)
OKLCHoklch(45.27% 0.185 282.4)
XYZxyz(13.2210, 8.2275, 45.6820)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CB7 #A6B73C
analogous
#3C68B7 #4D3CB7 #8B3CB7
triadic
#4D3CB7 #B74D3C #3CB74D
tetradic
#4D3CB7 #B73C68 #A6B73C #3CB78B
square
#4D3CB7 #B73C68 #A6B73C #3CB78B
split-complementary
#4D3CB7 #B78B3C #68B73C
monochromatic
#261E5B #3A2D89 #4D3CB7 #7264CC #9C92DB

Accessibility & contrast

On white

7.94
#4D3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4D3CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CB7
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CB7#FFFFFF#000000##FFFFFF
##4D3CB71.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#105C74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3cb7;
/* rgb */ color: rgb(77, 60, 183);
/* oklch */ color: oklch(45.3% 0.185 282.4);
Tailwind
colors: {
  custom: {
    50: '#8a73ce',
    500: '#4d3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #4d3cb7;
$custom-light: #8a73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3cb7",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 248.293,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.18484,
    "h": 282.4
  },
  "luminance": 0.08228
}

Semantic roles & 50–950 ramp

primary
#4D3CB7
secondary
#BEC688
accent
#DA4EC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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