#4D3DB6#4D3DB6

#4D3DB6 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.3% C 0.182 H 282.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4D3DB6
RGBrgb(77, 61, 182)
HSLhsl(248, 50%, 48%)
HSVhsv(248, 66%, 71%)
CMYKcmyk(57.7%, 66.5%, 0%, 28.6%)
CIE-LABlab(34.58, 40.70, -61.93)
CIE-LCHlch(34.58, 74.11, 303.31°)
OKLaboklab(45.34% 0.0389 -0.1782)
OKLCHoklch(45.34% 0.182 282.3)
XYZxyz(13.1702, 8.2918, 45.1534)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DB6 #A6B63D
analogous
#3D69B6 #4D3DB6 #893DB6
triadic
#4D3DB6 #B64D3D #3DB64D
tetradic
#4D3DB6 #B63D69 #A6B63D #3DB689
square
#4D3DB6 #B63D69 #A6B63D #3DB689
split-complementary
#4D3DB6 #B6893D #69B63D
monochromatic
#261E5A #3A2E88 #4D3DB6 #7265CB #9C93DB

Accessibility & contrast

On white

7.90
#4D3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3DB6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DB6#FFFFFF#000000##FFFFFF
##4D3DB61.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#125C74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3db6;
/* rgb */ color: rgb(77, 61, 182);
/* oklch */ color: oklch(45.3% 0.182 282.3);
Tailwind
colors: {
  custom: {
    50: '#8a74cd',
    500: '#4d3db6',
    950: '#000000',
  },
}
SCSS
$custom: #4d3db6;
$custom-light: #8a74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3db6",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 247.934,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.18237,
    "h": 282.3
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#4D3DB6
secondary
#BEC689
accent
#D94EC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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