#4D39B7#4D39B7

#4D39B7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.8% C 0.188 H 283.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4D39B7
RGBrgb(77, 57, 183)
HSLhsl(250, 53%, 47%)
HSVhsv(250, 69%, 72%)
CMYKcmyk(57.9%, 68.9%, 0%, 28.2%)
CIE-LABlab(33.82, 43.32, -63.77)
CIE-LCHlch(33.82, 77.10, 304.19°)
OKLaboklab(44.81% 0.0422 -0.1836)
OKLCHoklch(44.81% 0.188 283)
XYZxyz(13.0683, 7.9221, 45.6311)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39B7 #A3B739
analogous
#3964B7 #4D39B7 #8C39B7
triadic
#4D39B7 #B74D39 #39B74D
tetradic
#4D39B7 #B73964 #A3B739 #39B78C
square
#4D39B7 #B73964 #A3B739 #39B78C
split-complementary
#4D39B7 #B78C39 #64B739
monochromatic
#261C5A #392A88 #4D39B7 #7160CD #9B8EDC

Accessibility & contrast

On white

8.13
#4D39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4D39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39B7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39B7#FFFFFF#000000##FFFFFF
##4D39B71.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#105A73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d39b7;
/* rgb */ color: rgb(77, 57, 183);
/* oklch */ color: oklch(44.8% 0.188 283.0);
Tailwind
colors: {
  custom: {
    50: '#8a71ce',
    500: '#4d39b7',
    950: '#000000',
  },
}
SCSS
$custom: #4d39b7;
$custom-light: #8a71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39b7",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 249.524,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.18837,
    "h": 283
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#4D39B7
secondary
#BCC785
accent
#DC4CC5
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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