#4C3CBB#4C3CBB

#4C3CBB is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.5% C 0.190 H 281.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4C3CBB
RGBrgb(76, 60, 187)
HSLhsl(248, 51%, 48%)
HSVhsv(248, 68%, 73%)
CMYKcmyk(59.4%, 67.9%, 0%, 26.7%)
CIE-LABlab(34.71, 42.70, -64.68)
CIE-LCHlch(34.71, 77.50, 303.43°)
OKLaboklab(45.54% 0.0378 -0.1862)
OKLCHoklch(45.54% 0.19 281.5)
XYZxyz(13.5632, 8.3551, 47.9021)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3CBB #ABBB3C
analogous
#3C6BBB #4C3CBB #8B3CBB
triadic
#4C3CBB #BB4C3C #3CBB4C
tetradic
#4C3CBB #BB3C6B #ABBB3C #3CBB8B
square
#4C3CBB #BB3C6B #ABBB3C #3CBB8B
split-complementary
#4C3CBB #BB8B3C #6BBB3C
monochromatic
#261E5E #392D8D #4C3CBB #7366CE #9E95DD

Accessibility & contrast

On white

7.86
#4C3CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4C3CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3CBB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3CBB#FFFFFF#000000##FFFFFF
##4C3CBB1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c3cbb;
/* rgb */ color: rgb(76, 60, 187);
/* oklch */ color: oklch(45.5% 0.190 281.5);
Tailwind
colors: {
  custom: {
    50: '#8a73d0',
    500: '#4c3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #4c3cbb;
$custom-light: #8a73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3cbb",
  "rgb": {
    "r": 76,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 247.559,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.19004,
    "h": 281.5
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#4C3CBB
secondary
#C0C88B
accent
#DB4DC9
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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