#4D39D2#4D39D2

#4D39D2 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.3% C 0.221 H 279.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4D39D2
RGBrgb(77, 57, 210)
HSLhsl(248, 63%, 52%)
HSVhsv(248, 73%, 82%)
CMYKcmyk(63.3%, 72.9%, 0%, 17.6%)
CIE-LABlab(36.28, 51.60, -75.52)
CIE-LCHlch(36.28, 91.46, 304.34°)
OKLaboklab(47.32% 0.0372 -0.2179)
OKLCHoklch(47.32% 0.221 279.7)
XYZxyz(16.1528, 9.1559, 61.8763)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39D2 #BED239
analogous
#3972D2 #4D39D2 #9939D2
triadic
#4D39D2 #D24D39 #39D24D
tetradic
#4D39D2 #D23972 #BED239 #39D299
square
#4D39D2 #D23972 #BED239 #39D299
split-complementary
#4D39D2 #D29939 #72D239
monochromatic
#271B76 #3726A8 #4D39D2 #7A6BDD #A79DE9

Accessibility & contrast

On white

7.42
#4D39D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4D39D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39D2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39D2#FFFFFF#000000##FFFFFF
##4D39D21.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD6
Deuteranopia (green-blind)
#004FCF
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d39d2;
/* rgb */ color: rgb(77, 57, 210);
/* oklch */ color: oklch(47.3% 0.221 279.7);
Tailwind
colors: {
  custom: {
    50: '#8f72e1',
    500: '#4d39d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d39d2;
$custom-light: #8f72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39d2",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 247.843,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47317,
    "c": 0.22109,
    "h": 279.7
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#4D39D2
secondary
#CCD592
accent
#E642D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #4D39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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