#4D3DB3#4D3DB3

#4D3DB3 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.1% C 0.179 H 282.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4D3DB3
RGBrgb(77, 61, 179)
HSLhsl(248, 49%, 47%)
HSVhsv(248, 66%, 70%)
CMYKcmyk(57%, 65.9%, 0%, 29.8%)
CIE-LABlab(34.33, 39.76, -60.56)
CIE-LCHlch(34.33, 72.45, 303.28°)
OKLaboklab(45.08% 0.0393 -0.1742)
OKLCHoklch(45.08% 0.179 282.7)
XYZxyz(12.8635, 8.1691, 43.5381)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DB3 #A3B33D
analogous
#3D68B3 #4D3DB3 #883DB3
triadic
#4D3DB3 #B34D3D #3DB34D
tetradic
#4D3DB3 #B33D68 #A3B33D #3DB388
square
#4D3DB3 #B33D68 #A3B33D #3DB388
split-complementary
#4D3DB3 #B3883D #68B33D
monochromatic
#261E58 #392D85 #4D3DB3 #7163CA #9B91D9

Accessibility & contrast

On white

7.97
#4D3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4D3DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3DB3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DB3#FFFFFF#000000##FFFFFF
##4D3DB31.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#185B72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3db3;
/* rgb */ color: rgb(77, 61, 179);
/* oklch */ color: oklch(45.1% 0.179 282.7);
Tailwind
colors: {
  custom: {
    50: '#8974cb',
    500: '#4d3db3',
    950: '#000000',
  },
}
SCSS
$custom: #4d3db3;
$custom-light: #8974cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3db3",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 248.136,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.17853,
    "h": 282.7
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#4D3DB3
secondary
#BCC587
accent
#D94FC6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4D3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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