#4C3FBB#4C3FBB

#4C3FBB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.0% C 0.186 H 280.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4C3FBB
RGBrgb(76, 63, 187)
HSLhsl(246, 50%, 49%)
HSVhsv(246, 66%, 73%)
CMYKcmyk(59.4%, 66.3%, 0%, 26.7%)
CIE-LABlab(35.36, 40.95, -63.62)
CIE-LCHlch(35.36, 75.66, 302.77°)
OKLaboklab(46.01% 0.0352 -0.1831)
OKLCHoklch(46.01% 0.187 280.9)
XYZxyz(13.7248, 8.6784, 47.9559)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3FBB #AEBB3F
analogous
#3F70BB #4C3FBB #8A3FBB
triadic
#4C3FBB #BB4C3F #3FBB4C
tetradic
#4C3FBB #BB3F70 #AEBB3F #3FBB8A
square
#4C3FBB #BB3F70 #AEBB3F #3FBB8A
split-complementary
#4C3FBB #BB8A3F #70BB3F
monochromatic
#27205F #39308D #4C3FBB #756ACD #9F98DC

Accessibility & contrast

On white

7.68
#4C3FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4C3FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3FBB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3FBB#FFFFFF#000000##FFFFFF
##4C3FBB1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c3fbb;
/* rgb */ color: rgb(76, 63, 187);
/* oklch */ color: oklch(46.0% 0.186 280.9);
Tailwind
colors: {
  custom: {
    50: '#8a75d0',
    500: '#4c3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4c3fbb;
$custom-light: #8a75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3fbb",
  "rgb": {
    "r": 76,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 246.29,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.1865,
    "h": 280.9
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#4C3FBB
secondary
#C2C88E
accent
#D94FCB
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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