#4C39CF#4C39CF

#4C39CF is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.0% C 0.218 H 279.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4C39CF
RGBrgb(76, 57, 207)
HSLhsl(248, 61%, 52%)
HSVhsv(248, 72%, 81%)
CMYKcmyk(63.3%, 72.5%, 0%, 18.8%)
CIE-LABlab(35.92, 50.56, -74.38)
CIE-LCHlch(35.92, 89.94, 304.21°)
OKLaboklab(46.95% 0.0365 -0.2146)
OKLCHoklch(46.95% 0.218 279.6)
XYZxyz(15.7025, 8.9665, 59.9226)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39CF #BCCF39
analogous
#3971CF #4C39CF #9739CF
triadic
#4C39CF #CF4C39 #39CF4C
tetradic
#4C39CF #CF3971 #BCCF39 #39CF97
square
#4C39CF #CF3971 #BCCF39 #39CF97
split-complementary
#4C39CF #CF9739 #71CF39
monochromatic
#271C72 #3728A3 #4C39CF #796ADB #A59CE7

Accessibility & contrast

On white

7.52
#4C39CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4C39CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39CF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39CF#FFFFFF#000000##FFFFFF
##4C39CF1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#004FCC
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c39cf;
/* rgb */ color: rgb(76, 57, 207);
/* oklch */ color: oklch(47.0% 0.218 279.6);
Tailwind
colors: {
  custom: {
    50: '#8e72df',
    500: '#4c39cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c39cf;
$custom-light: #8e72df;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39cf",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 247.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.21772,
    "h": 279.6
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#4C39CF
secondary
#CAD391
accent
#E444D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4C39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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