#4C39CC#4C39CC

#4C39CC is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.7% C 0.214 H 280.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4C39CC
RGBrgb(76, 57, 204)
HSLhsl(248, 59%, 51%)
HSVhsv(248, 72%, 80%)
CMYKcmyk(62.7%, 72.1%, 0%, 20%)
CIE-LABlab(35.64, 49.65, -73.10)
CIE-LCHlch(35.64, 88.37, 304.18°)
OKLaboklab(46.67% 0.0371 -0.2109)
OKLCHoklch(46.67% 0.214 280)
XYZxyz(15.3392, 8.8212, 58.0094)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39CC #B9CC39
analogous
#396FCC #4C39CC #9539CC
triadic
#4C39CC #CC4C39 #39CC4C
tetradic
#4C39CC #CC396F #B9CC39 #39CC95
square
#4C39CC #CC396F #B9CC39 #39CC95
split-complementary
#4C39CC #CC9539 #6FCC39
monochromatic
#271C6E #38299F #4C39CC #786AD9 #A49AE5

Accessibility & contrast

On white

7.60
#4C39CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4C39CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39CC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39CC#FFFFFF#000000##FFFFFF
##4C39CC1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004EC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c39cc;
/* rgb */ color: rgb(76, 57, 204);
/* oklch */ color: oklch(46.7% 0.214 280.0);
Tailwind
colors: {
  custom: {
    50: '#8d72dd',
    500: '#4c39cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c39cc;
$custom-light: #8d72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39cc",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 247.755,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.21415,
    "h": 280
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

primary
#4C39CC
secondary
#C8D190
accent
#E246CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4C39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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