#4C3CB8#4C3CB8

#4C3CB8 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.3% C 0.186 H 281.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4C3CB8
RGBrgb(76, 60, 184)
HSLhsl(248, 51%, 48%)
HSVhsv(248, 67%, 72%)
CMYKcmyk(58.7%, 67.4%, 0%, 27.8%)
CIE-LABlab(34.45, 41.76, -63.33)
CIE-LCHlch(34.45, 75.86, 303.40°)
OKLaboklab(45.27% 0.0382 -0.1823)
OKLCHoklch(45.27% 0.186 281.8)
XYZxyz(13.2454, 8.2280, 46.2283)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3CB8 #A8B83C
analogous
#3C6AB8 #4C3CB8 #8A3CB8
triadic
#4C3CB8 #B84C3C #3CB84C
tetradic
#4C3CB8 #B83C6A #A8B83C #3CB88A
square
#4C3CB8 #B83C6A #A8B83C #3CB88A
split-complementary
#4C3CB8 #B88A3C #6AB83C
monochromatic
#261E5C #392D8A #4C3CB8 #7265CD #9C93DC

Accessibility & contrast

On white

7.94
#4C3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4C3CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3CB8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3CB8#FFFFFF#000000##FFFFFF
##4C3CB81.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#055C75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c3cb8;
/* rgb */ color: rgb(76, 60, 184);
/* oklch */ color: oklch(45.3% 0.186 281.8);
Tailwind
colors: {
  custom: {
    50: '#8973ce',
    500: '#4c3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #4c3cb8;
$custom-light: #8973ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3cb8",
  "rgb": {
    "r": 76,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 247.742,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.18626,
    "h": 281.8
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#4C3CB8
secondary
#BFC789
accent
#DA4DC8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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