#4D3CBA#4D3CBA

#4D3CBA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.5% C 0.189 H 282.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4D3CBA
RGBrgb(77, 60, 186)
HSLhsl(248, 51%, 48%)
HSVhsv(248, 68%, 73%)
CMYKcmyk(58.6%, 67.7%, 0%, 27.1%)
CIE-LABlab(34.71, 42.54, -64.09)
CIE-LCHlch(34.71, 76.92, 303.57°)
OKLaboklab(45.53% 0.0392 -0.1845)
OKLCHoklch(45.53% 0.189 282)
XYZxyz(13.5366, 8.3538, 47.3440)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CBA #A9BA3C
analogous
#3C6ABA #4D3CBA #8C3CBA
triadic
#4D3CBA #BA4D3C #3CBA4D
tetradic
#4D3CBA #BA3C6A #A9BA3C #3CBA8C
square
#4D3CBA #BA3C6A #A9BA3C #3CBA8C
split-complementary
#4D3CBA #BA8C3C #6ABA3C
monochromatic
#271E5D #3A2D8C #4D3CBA #7466CE #9E94DC

Accessibility & contrast

On white

7.86
#4D3CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4D3CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CBA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CBA#FFFFFF#000000##FFFFFF
##4D3CBA1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#065D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d3cba;
/* rgb */ color: rgb(77, 60, 186);
/* oklch */ color: oklch(45.5% 0.189 282.0);
Tailwind
colors: {
  custom: {
    50: '#8a73d0',
    500: '#4d3cba',
    950: '#000000',
  },
}
SCSS
$custom: #4d3cba;
$custom-light: #8a73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3cba",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 248.095,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45531,
    "c": 0.18863,
    "h": 282
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#4D3CBA
secondary
#BFC88A
accent
#DB4DC8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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