#4D39C5#4D39C5

#4D39C5 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.206 H 281.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4D39C5
RGBrgb(77, 57, 197)
HSLhsl(249, 55%, 50%)
HSVhsv(249, 71%, 77%)
CMYKcmyk(60.9%, 71.1%, 0%, 22.7%)
CIE-LABlab(35.07, 47.63, -69.95)
CIE-LCHlch(35.07, 84.63, 304.25°)
OKLaboklab(46.09% 0.0398 -0.2017)
OKLCHoklch(46.09% 0.206 281.2)
XYZxyz(14.5986, 8.5342, 53.6905)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39C5 #B1C539
analogous
#396BC5 #4D39C5 #9339C5
triadic
#4D39C5 #C54D39 #39C54D
tetradic
#4D39C5 #C5396B #B1C539 #39C593
square
#4D39C5 #C5396B #B1C539 #39C593
split-complementary
#4D39C5 #C59339 #6BC539
monochromatic
#281E66 #3A2B96 #4D39C5 #7768D3 #A297E1

Accessibility & contrast

On white

7.76
#4D39C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4D39C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39C5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39C5#FFFFFF#000000##FFFFFF
##4D39C51.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d39c5;
/* rgb */ color: rgb(77, 57, 197);
/* oklch */ color: oklch(46.1% 0.206 281.2);
Tailwind
colors: {
  custom: {
    50: '#8c72d8',
    500: '#4d39c5',
    950: '#000000',
  },
}
SCSS
$custom: #4d39c5;
$custom-light: #8c72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39c5",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 248.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.20556,
    "h": 281.2
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#4D39C5
secondary
#C4CD8D
accent
#DE49C9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4D39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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