#4C39AE#4C39AE

#4C39AE is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.9% C 0.177 H 283.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4C39AE
RGBrgb(76, 57, 174)
HSLhsl(250, 51%, 45%)
HSVhsv(250, 67%, 68%)
CMYKcmyk(56.3%, 67.2%, 0%, 31.8%)
CIE-LABlab(32.96, 40.37, -59.84)
CIE-LCHlch(32.96, 72.18, 304.01°)
OKLaboklab(43.93% 0.0422 -0.1721)
OKLCHoklch(43.93% 0.177 283.8)
XYZxyz(12.0813, 7.5180, 40.8507)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39AE #9BAE39
analogous
#3960AE #4C39AE #8739AE
triadic
#4C39AE #AE4C39 #39AE4C
tetradic
#4C39AE #AE3960 #9BAE39 #39AE87
square
#4C39AE #AE3960 #9BAE39 #39AE87
split-complementary
#4C39AE #AE8739 #60AE39
monochromatic
#241B52 #382A80 #4C39AE #6D5BC9 #9689D8

Accessibility & contrast

On white

8.39
#4C39AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4C39AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39AE
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39AE#FFFFFF#000000##FFFFFF
##4C39AE1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#1C576E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c39ae;
/* rgb */ color: rgb(76, 57, 174);
/* oklch */ color: oklch(43.9% 0.177 283.8);
Tailwind
colors: {
  custom: {
    50: '#8871c7',
    500: '#4c39ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c39ae;
$custom-light: #8871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39ae",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 249.744,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.17716,
    "h": 283.8
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#4C39AE
secondary
#B8C380
accent
#DA4EC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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