#4D39D7#4D39D7

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

Color values

HEX#4D39D7
RGBrgb(77, 57, 215)
HSLhsl(248, 66%, 53%)
HSVhsv(248, 73%, 84%)
CMYKcmyk(64.2%, 73.5%, 0%, 15.7%)
CIE-LABlab(36.76, 53.11, -77.62)
CIE-LCHlch(36.76, 94.05, 304.38°)
OKLaboklab(47.8% 0.0361 -0.2241)
OKLCHoklch(47.8% 0.227 279.2)
XYZxyz(16.7855, 9.4090, 65.2084)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39D7 #C3D739
analogous
#3974D7 #4D39D7 #9C39D7
triadic
#4D39D7 #D74D39 #39D74D
tetradic
#4D39D7 #D73974 #C3D739 #39D79C
square
#4D39D7 #D73974 #C3D739 #39D79C
split-complementary
#4D39D7 #D79C39 #74D739
monochromatic
#26197C #3523AF #4D39D7 #7B6CE1 #A99FEC

Accessibility & contrast

On white

7.29
#4D39D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4D39D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39D7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39D7#FFFFFF#000000##FFFFFF
##4D39D71.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.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: #4d39d7;
/* rgb */ color: rgb(77, 57, 215);
/* oklch */ color: oklch(47.8% 0.227 279.2);
Tailwind
colors: {
  custom: {
    50: '#9072e5',
    500: '#4d39d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d39d7;
$custom-light: #9072e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39d7",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 247.595,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47799,
    "c": 0.22696,
    "h": 279.2
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#4D39D7
secondary
#CFD894
accent
#E93ED4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4D39D7

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

Preview Lab → · Contrast checker → · Palette generator →

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