#4C3ACB#4C3ACB

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

Color values

HEX#4C3ACB
RGBrgb(76, 58, 203)
HSLhsl(247, 58%, 51%)
HSVhsv(247, 71%, 80%)
CMYKcmyk(62.6%, 71.4%, 0%, 20.4%)
CIE-LABlab(35.74, 48.80, -72.36)
CIE-LCHlch(35.74, 87.27, 304.00°)
OKLaboklab(46.71% 0.0366 -0.2087)
OKLCHoklch(46.71% 0.212 279.9)
XYZxyz(15.2696, 8.8732, 57.3964)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3ACB #B9CB3A
analogous
#3A70CB #4C3ACB #943ACB
triadic
#4C3ACB #CB4C3A #3ACB4C
tetradic
#4C3ACB #CB3A70 #B9CB3A #3ACB94
square
#4C3ACB #CB3A70 #B9CB3A #3ACB94
split-complementary
#4C3ACB #CB943A #70CB3A
monochromatic
#271D6E #382A9E #4C3ACB #786AD8 #A49BE5

Accessibility & contrast

On white

7.57
#4C3ACB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4C3ACB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3ACB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3ACB#FFFFFF#000000##FFFFFF
##4C3ACB1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c3acb;
/* rgb */ color: rgb(76, 58, 203);
/* oklch */ color: oklch(46.7% 0.212 279.9);
Tailwind
colors: {
  custom: {
    50: '#8d72dc',
    500: '#4c3acb',
    950: '#000000',
  },
}
SCSS
$custom: #4c3acb;
$custom-light: #8d72dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3acb",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 247.448,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46712,
    "c": 0.21191,
    "h": 279.9
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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