#4D3ACB#4D3ACB

#4D3ACB is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.8% C 0.212 H 280.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4D3ACB
RGBrgb(77, 58, 203)
HSLhsl(248, 58%, 51%)
HSVhsv(248, 71%, 80%)
CMYKcmyk(62.1%, 71.4%, 0%, 20.4%)
CIE-LABlab(35.82, 48.93, -72.22)
CIE-LCHlch(35.82, 87.23, 304.12°)
OKLaboklab(46.79% 0.0379 -0.2083)
OKLCHoklch(46.79% 0.212 280.3)
XYZxyz(15.3497, 8.9145, 57.4001)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ACB #B8CB3A
analogous
#3A6FCB #4D3ACB #953ACB
triadic
#4D3ACB #CB4D3A #3ACB4D
tetradic
#4D3ACB #CB3A6F #B8CB3A #3ACB95
square
#4D3ACB #CB3A6F #B8CB3A #3ACB95
split-complementary
#4D3ACB #CB953A #6FCB3A
monochromatic
#281D6E #392A9E #4D3ACB #796AD8 #A49BE5

Accessibility & contrast

On white

7.55
#4D3ACB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4D3ACB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ACB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ACB#FFFFFF#000000##FFFFFF
##4D3ACB1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004FC8
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d3acb;
/* rgb */ color: rgb(77, 58, 203);
/* oklch */ color: oklch(46.8% 0.212 280.3);
Tailwind
colors: {
  custom: {
    50: '#8d72dc',
    500: '#4d3acb',
    950: '#000000',
  },
}
SCSS
$custom: #4d3acb;
$custom-light: #8d72dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3acb",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 247.862,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4679,
    "c": 0.21173,
    "h": 280.3
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#4D3ACB
secondary
#C8D090
accent
#E146CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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