#4C3BB7#4C3BB7

#4C3BB7 is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.0% C 0.186 H 282.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4C3BB7
RGBrgb(76, 59, 183)
HSLhsl(248, 51%, 47%)
HSVhsv(248, 68%, 72%)
CMYKcmyk(58.5%, 67.8%, 0%, 28.2%)
CIE-LABlab(34.15, 42.02, -63.23)
CIE-LCHlch(34.15, 75.92, 303.61°)
OKLaboklab(45.03% 0.0392 -0.182)
OKLCHoklch(45.03% 0.186 282.1)
XYZxyz(13.0890, 8.0825, 45.6609)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3BB7 #A6B73B
analogous
#3B68B7 #4C3BB7 #8A3BB7
triadic
#4C3BB7 #B74C3B #3BB74C
tetradic
#4C3BB7 #B73B68 #A6B73B #3BB78A
square
#4C3BB7 #B73B68 #A6B73B #3BB78A
split-complementary
#4C3BB7 #B78A3B #68B73B
monochromatic
#261D5A #392C89 #4C3BB7 #7163CD #9B91DC

Accessibility & contrast

On white

8.03
#4C3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4C3BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3BB7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3BB7#FFFFFF#000000##FFFFFF
##4C3BB71.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#095B74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c3bb7;
/* rgb */ color: rgb(76, 59, 183);
/* oklch */ color: oklch(45.0% 0.186 282.1);
Tailwind
colors: {
  custom: {
    50: '#8972ce',
    500: '#4c3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #4c3bb7;
$custom-light: #8972ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3bb7",
  "rgb": {
    "r": 76,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 248.226,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.18618,
    "h": 282.1
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#4C3BB7
secondary
#BEC687
accent
#DB4DC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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