#4C3BBA#4C3BBA

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

Color values

HEX#4C3BBA
RGBrgb(76, 59, 186)
HSLhsl(248, 52%, 48%)
HSVhsv(248, 68%, 73%)
CMYKcmyk(59.1%, 68.3%, 0%, 27.1%)
CIE-LABlab(34.41, 42.96, -64.58)
CIE-LCHlch(34.41, 77.56, 303.63°)
OKLaboklab(45.3% 0.0387 -0.186)
OKLCHoklch(45.3% 0.19 281.8)
XYZxyz(13.4046, 8.2087, 47.3229)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3BBA #A9BA3B
analogous
#3B6ABA #4C3BBA #8B3BBA
triadic
#4C3BBA #BA4C3B #3BBA4C
tetradic
#4C3BBA #BA3B6A #A9BA3B #3BBA8B
square
#4C3BBA #BA3B6A #A9BA3B #3BBA8B
split-complementary
#4C3BBA #BA8B3B #6ABA3B
monochromatic
#261E5D #392C8C #4C3BBA #7264CE #9D93DD

Accessibility & contrast

On white

7.95
#4C3BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C3BBA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3BBA#FFFFFF#000000##FFFFFF
##4C3BBA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c3bba;
/* rgb */ color: rgb(76, 59, 186);
/* oklch */ color: oklch(45.3% 0.190 281.8);
Tailwind
colors: {
  custom: {
    50: '#8a72d0',
    500: '#4c3bba',
    950: '#000000',
  },
}
SCSS
$custom: #4c3bba;
$custom-light: #8a72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3bba",
  "rgb": {
    "r": 76,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 248.031,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45297,
    "c": 0.18995,
    "h": 281.8
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#4C3BBA
secondary
#BFC889
accent
#DB4DC8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C3BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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