#4D3DB5#4D3DB5

#4D3DB5 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.181 H 282.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4D3DB5
RGBrgb(77, 61, 181)
HSLhsl(248, 50%, 47%)
HSVhsv(248, 66%, 71%)
CMYKcmyk(57.5%, 66.3%, 0%, 29%)
CIE-LABlab(34.50, 40.39, -61.48)
CIE-LCHlch(34.50, 73.56, 303.30°)
OKLaboklab(45.25% 0.039 -0.1768)
OKLCHoklch(45.25% 0.181 282.4)
XYZxyz(13.0672, 8.2506, 44.6111)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DB5 #A5B53D
analogous
#3D69B5 #4D3DB5 #893DB5
triadic
#4D3DB5 #B54D3D #3DB54D
tetradic
#4D3DB5 #B53D69 #A5B53D #3DB589
square
#4D3DB5 #B53D69 #A5B53D #3DB589
split-complementary
#4D3DB5 #B5893D #69B53D
monochromatic
#261E59 #3A2E87 #4D3DB5 #7264CB #9C92DA

Accessibility & contrast

On white

7.92
#4D3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3DB5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DB5#FFFFFF#000000##FFFFFF
##4D3DB51.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#145C73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3db5;
/* rgb */ color: rgb(77, 61, 181);
/* oklch */ color: oklch(45.2% 0.181 282.4);
Tailwind
colors: {
  custom: {
    50: '#8974cc',
    500: '#4d3db5',
    950: '#000000',
  },
}
SCSS
$custom: #4d3db5;
$custom-light: #8974cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3db5",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 248,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.1811,
    "h": 282.4
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#4D3DB5
secondary
#BDC588
accent
#D94FC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4D3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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