#4D39D5#4D39D5

#4D39D5 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.6% C 0.225 H 279.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4D39D5
RGBrgb(77, 57, 213)
HSLhsl(248, 65%, 53%)
HSVhsv(248, 73%, 84%)
CMYKcmyk(63.8%, 73.2%, 0%, 16.5%)
CIE-LABlab(36.57, 52.51, -76.78)
CIE-LCHlch(36.57, 93.02, 304.37°)
OKLaboklab(47.61% 0.0366 -0.2216)
OKLCHoklch(47.61% 0.225 279.4)
XYZxyz(16.5301, 9.3068, 63.8632)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39D5 #C1D539
analogous
#3973D5 #4D39D5 #9B39D5
triadic
#4D39D5 #D54D39 #39D54D
tetradic
#4D39D5 #D53973 #C1D539 #39D59B
square
#4D39D5 #D53973 #C1D539 #39D59B
split-complementary
#4D39D5 #D59B39 #73D539
monochromatic
#261A7A #3625AC #4D39D5 #7A6BE0 #A89EEA

Accessibility & contrast

On white

7.34
#4D39D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4D39D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39D5
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39D5#FFFFFF#000000##FFFFFF
##4D39D51.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDA
Deuteranopia (green-blind)
#0050D2
Tritanopia (blue-blind)
#006584
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d39d5;
/* rgb */ color: rgb(77, 57, 213);
/* oklch */ color: oklch(47.6% 0.225 279.4);
Tailwind
colors: {
  custom: {
    50: '#8f72e3',
    500: '#4d39d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d39d5;
$custom-light: #8f72e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39d5",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 213
  },
  "hsl": {
    "h": 247.692,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.22461,
    "h": 279.4
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#4D39D5
secondary
#CED793
accent
#E840D2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4D39D5

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

Preview Lab → · Contrast checker → · Palette generator →

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