#4C39CB#4C39CB

#4C39CB is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.6% C 0.213 H 280.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4C39CB
RGBrgb(76, 57, 203)
HSLhsl(248, 58%, 51%)
HSVhsv(248, 72%, 80%)
CMYKcmyk(62.6%, 71.9%, 0%, 20.4%)
CIE-LABlab(35.54, 49.34, -72.68)
CIE-LCHlch(35.54, 87.84, 304.17°)
OKLaboklab(46.57% 0.0373 -0.2097)
OKLCHoklch(46.57% 0.213 280.1)
XYZxyz(15.2197, 8.7734, 57.3797)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39CB #B8CB39
analogous
#396FCB #4C39CB #9539CB
triadic
#4C39CB #CB4C39 #39CB4C
tetradic
#4C39CB #CB396F #B8CB39 #39CB95
square
#4C39CB #CB396F #B8CB39 #39CB95
split-complementary
#4C39CB #CB9539 #6FCB39
monochromatic
#271D6D #38299D #4C39CB #7869D8 #A49AE4

Accessibility & contrast

On white

7.62
#4C39CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4C39CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39CB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39CB#FFFFFF#000000##FFFFFF
##4C39CB1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004EC8
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c39cb;
/* rgb */ color: rgb(76, 57, 203);
/* oklch */ color: oklch(46.6% 0.213 280.1);
Tailwind
colors: {
  custom: {
    50: '#8d72dc',
    500: '#4c39cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c39cb;
$custom-light: #8d72dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39cb",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 247.808,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46574,
    "c": 0.21295,
    "h": 280.1
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#4C39CB
secondary
#C8D090
accent
#E246CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4C39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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