#4D39B9#4D39B9

#4D39B9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 45.0% C 0.191 H 282.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4D39B9
RGBrgb(77, 57, 185)
HSLhsl(249, 53%, 47%)
HSVhsv(249, 69%, 73%)
CMYKcmyk(58.4%, 69.2%, 0%, 27.5%)
CIE-LABlab(34.00, 43.94, -64.67)
CIE-LCHlch(34.00, 78.18, 304.20°)
OKLaboklab(44.99% 0.0419 -0.1862)
OKLCHoklch(44.99% 0.191 282.7)
XYZxyz(13.2779, 8.0060, 46.7352)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39B9 #A5B939
analogous
#3965B9 #4D39B9 #8D39B9
triadic
#4D39B9 #B94D39 #39B94D
tetradic
#4D39B9 #B93965 #A5B939 #39B98D
square
#4D39B9 #B93965 #A5B939 #39B98D
split-complementary
#4D39B9 #B98D39 #65B939
monochromatic
#261C5B #3A2B8A #4D39B9 #7261CE #9C90DD

Accessibility & contrast

On white

8.07
#4D39B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4D39B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39B9
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39B9#FFFFFF#000000##FFFFFF
##4D39B91.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#0B5B74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d39b9;
/* rgb */ color: rgb(77, 57, 185);
/* oklch */ color: oklch(45.0% 0.191 282.7);
Tailwind
colors: {
  custom: {
    50: '#8a71cf',
    500: '#4d39b9',
    950: '#000000',
  },
}
SCSS
$custom: #4d39b9;
$custom-light: #8a71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39b9",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 249.375,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44991,
    "c": 0.19085,
    "h": 282.7
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#4D39B9
secondary
#BDC886
accent
#DC4BC6
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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