#4C3CB7#4C3CB7

#4C3CB7 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.2% C 0.185 H 282.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4C3CB7
RGBrgb(76, 60, 183)
HSLhsl(248, 51%, 48%)
HSVhsv(248, 67%, 72%)
CMYKcmyk(58.5%, 67.2%, 0%, 28.2%)
CIE-LABlab(34.37, 41.44, -62.88)
CIE-LCHlch(34.37, 75.31, 303.39°)
OKLaboklab(45.18% 0.0383 -0.181)
OKLCHoklch(45.18% 0.185 282)
XYZxyz(13.1409, 8.1862, 45.6782)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3CB7 #A7B73C
analogous
#3C69B7 #4C3CB7 #893CB7
triadic
#4C3CB7 #B74C3C #3CB74C
tetradic
#4C3CB7 #B73C69 #A7B73C #3CB789
square
#4C3CB7 #B73C69 #A7B73C #3CB789
split-complementary
#4C3CB7 #B7893C #69B73C
monochromatic
#261E5B #392D89 #4C3CB7 #7264CC #9C92DB

Accessibility & contrast

On white

7.96
#4C3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4C3CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3CB7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3CB7#FFFFFF#000000##FFFFFF
##4C3CB71.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#095C74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c3cb7;
/* rgb */ color: rgb(76, 60, 183);
/* oklch */ color: oklch(45.2% 0.185 282.0);
Tailwind
colors: {
  custom: {
    50: '#8973ce',
    500: '#4c3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #4c3cb7;
$custom-light: #8973ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3cb7",
  "rgb": {
    "r": 76,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 247.805,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.18499,
    "h": 282
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#4C3CB7
secondary
#BEC688
accent
#DA4EC8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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