#4C39D7#4C39D7

#4C39D7 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.7% C 0.227 H 278.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4C39D7
RGBrgb(76, 57, 215)
HSLhsl(247, 66%, 53%)
HSVhsv(247, 73%, 84%)
CMYKcmyk(64.7%, 73.5%, 0%, 15.7%)
CIE-LABlab(36.68, 53.00, -77.75)
CIE-LCHlch(36.68, 94.09, 304.28°)
OKLaboklab(47.72% 0.0348 -0.2245)
OKLCHoklch(47.72% 0.227 278.8)
XYZxyz(16.7054, 9.3677, 65.2046)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39D7 #C4D739
analogous
#3975D7 #4C39D7 #9B39D7
triadic
#4C39D7 #D74C39 #39D74C
tetradic
#4C39D7 #D73975 #C4D739 #39D79B
square
#4C39D7 #D73975 #C4D739 #39D79B
split-complementary
#4C39D7 #D79B39 #75D739
monochromatic
#25197C #3423AF #4C39D7 #7A6CE1 #A89FEC

Accessibility & contrast

On white

7.31
#4C39D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4C39D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39D7
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39D7#FFFFFF#000000##FFFFFF
##4C39D71.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#0050D4
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c39d7;
/* rgb */ color: rgb(76, 57, 215);
/* oklch */ color: oklch(47.7% 0.227 278.8);
Tailwind
colors: {
  custom: {
    50: '#8f72e5',
    500: '#4c39d7',
    950: '#000000',
  },
}
SCSS
$custom: #4c39d7;
$custom-light: #8f72e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39d7",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 247.215,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47724,
    "c": 0.22715,
    "h": 278.8
  },
  "luminance": 0.09369
}

Semantic roles & 50–950 ramp

primary
#4C39D7
secondary
#D0D894
accent
#E93ED5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4C39D7

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

Preview Lab → · Contrast checker → · Palette generator →

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