#4C3FCC#4C3FCC

#4C3FCC is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.5% C 0.208 H 279.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4C3FCC
RGBrgb(76, 63, 204)
HSLhsl(246, 58%, 52%)
HSVhsv(246, 69%, 80%)
CMYKcmyk(62.7%, 69.1%, 0%, 20%)
CIE-LABlab(36.84, 46.33, -71.14)
CIE-LCHlch(36.84, 84.89, 303.07°)
OKLaboklab(47.52% 0.0328 -0.2052)
OKLCHoklch(47.52% 0.208 279.1)
XYZxyz(15.6536, 9.4499, 58.1142)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3FCC #BFCC3F
analogous
#3F78CC #4C3FCC #933FCC
triadic
#4C3FCC #CC4C3F #3FCC4C
tetradic
#4C3FCC #CC3F78 #BFCC3F #3FCC93
square
#4C3FCC #CC3F78 #BFCC3F #3FCC93
split-complementary
#4C3FCC #CC933F #78CC3F
monochromatic
#261E72 #362BA3 #4C3FCC #796FD9 #A6A0E6

Accessibility & contrast

On white

7.27
#4C3FCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4C3FCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3FCC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3FCC#FFFFFF#000000##FFFFFF
##4C3FCC1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c3fcc;
/* rgb */ color: rgb(76, 63, 204);
/* oklch */ color: oklch(47.5% 0.208 279.1);
Tailwind
colors: {
  custom: {
    50: '#8d76dd',
    500: '#4c3fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4c3fcc;
$custom-light: #8d76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3fcc",
  "rgb": {
    "r": 76,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 245.532,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47524,
    "c": 0.20779,
    "h": 279.1
  },
  "luminance": 0.09451
}

Semantic roles & 50–950 ramp

primary
#4C3FCC
secondary
#CCD295
accent
#E147D3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4C3FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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