#4C3AC7#4C3AC7

#4C3AC7 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.3% C 0.207 H 280.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4C3AC7
RGBrgb(76, 58, 199)
HSLhsl(248, 56%, 50%)
HSVhsv(248, 71%, 78%)
CMYKcmyk(61.8%, 70.9%, 0%, 22%)
CIE-LABlab(35.37, 47.56, -70.63)
CIE-LCHlch(35.37, 85.15, 303.96°)
OKLaboklab(46.34% 0.0373 -0.2037)
OKLCHoklch(46.34% 0.207 280.4)
XYZxyz(14.7991, 8.6850, 54.9183)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3AC7 #B5C73A
analogous
#3A6EC7 #4C3AC7 #933AC7
triadic
#4C3AC7 #C74C3A #3AC74C
tetradic
#4C3AC7 #C73A6E #B5C73A #3AC793
square
#4C3AC7 #C73A6E #B5C73A #3AC793
split-complementary
#4C3AC7 #C7933A #6EC73A
monochromatic
#271E69 #392B98 #4C3AC7 #776AD5 #A399E2

Accessibility & contrast

On white

7.67
#4C3AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4C3AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3AC7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3AC7#FFFFFF#000000##FFFFFF
##4C3AC71.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#004EC4
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c3ac7;
/* rgb */ color: rgb(76, 58, 199);
/* oklch */ color: oklch(46.3% 0.207 280.4);
Tailwind
colors: {
  custom: {
    50: '#8c72d9',
    500: '#4c3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #4c3ac7;
$custom-light: #8c72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3ac7",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 247.66,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46338,
    "c": 0.20708,
    "h": 280.4
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#4C3AC7
secondary
#C6CE8F
accent
#DF49CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4C3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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