#4C3EBA#4C3EBA

#4C3EBA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.8% C 0.186 H 281.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4C3EBA
RGBrgb(76, 62, 186)
HSLhsl(247, 50%, 49%)
HSVhsv(247, 67%, 73%)
CMYKcmyk(59.1%, 66.7%, 0%, 27.1%)
CIE-LABlab(35.06, 41.22, -63.53)
CIE-LCHlch(35.06, 75.73, 302.98°)
OKLaboklab(45.76% 0.0362 -0.1829)
OKLCHoklch(45.76% 0.186 281.2)
XYZxyz(13.5633, 8.5260, 47.3758)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3EBA #ACBA3E
analogous
#3E6EBA #4C3EBA #8A3EBA
triadic
#4C3EBA #BA4C3E #3EBA4C
tetradic
#4C3EBA #BA3E6E #ACBA3E #3EBA8A
square
#4C3EBA #BA3E6E #ACBA3E #3EBA8A
split-complementary
#4C3EBA #BA8A3E #6EBA3E
monochromatic
#261F5E #392F8C #4C3EBA #7468CD #9E96DC

Accessibility & contrast

On white

7.76
#4C3EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4C3EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3EBA
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3EBA#FFFFFF#000000##FFFFFF
##4C3EBA1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c3eba;
/* rgb */ color: rgb(76, 62, 186);
/* oklch */ color: oklch(45.8% 0.186 281.2);
Tailwind
colors: {
  custom: {
    50: '#8a74d0',
    500: '#4c3eba',
    950: '#000000',
  },
}
SCSS
$custom: #4c3eba;
$custom-light: #8a74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3eba",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 246.774,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.18643,
    "h": 281.2
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#4C3EBA
secondary
#C1C88C
accent
#DA4ECA
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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