#4C3BB9#4C3BB9

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

Color values

HEX#4C3BB9
RGBrgb(76, 59, 185)
HSLhsl(248, 52%, 48%)
HSVhsv(248, 68%, 73%)
CMYKcmyk(58.9%, 68.1%, 0%, 27.5%)
CIE-LABlab(34.33, 42.65, -64.13)
CIE-LCHlch(34.33, 77.01, 303.63°)
OKLaboklab(45.21% 0.0389 -0.1846)
OKLCHoklch(45.21% 0.189 281.9)
XYZxyz(13.2987, 8.1663, 46.7650)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3BB9 #A8B93B
analogous
#3B69B9 #4C3BB9 #8B3BB9
triadic
#4C3BB9 #B94C3B #3BB94C
tetradic
#4C3BB9 #B93B69 #A8B93B #3BB98B
square
#4C3BB9 #B93B69 #A8B93B #3BB98B
split-complementary
#4C3BB9 #B98B3B #69B93B
monochromatic
#261D5C #392C8B #4C3BB9 #7264CD #9C92DC

Accessibility & contrast

On white

7.97
#4C3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4C3BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3BB9
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3BB9#FFFFFF#000000##FFFFFF
##4C3BB91.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#025C75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c3bb9;
/* rgb */ color: rgb(76, 59, 185);
/* oklch */ color: oklch(45.2% 0.189 281.9);
Tailwind
colors: {
  custom: {
    50: '#8a72cf',
    500: '#4c3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #4c3bb9;
$custom-light: #8a72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3bb9",
  "rgb": {
    "r": 76,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 248.095,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.18869,
    "h": 281.9
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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