#4D39B8#4D39B8

#4D39B8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.9% C 0.190 H 282.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4D39B8
RGBrgb(77, 57, 184)
HSLhsl(249, 53%, 47%)
HSVhsv(249, 69%, 72%)
CMYKcmyk(58.2%, 69%, 0%, 27.8%)
CIE-LABlab(33.91, 43.63, -64.22)
CIE-LCHlch(33.91, 77.64, 304.19°)
OKLaboklab(44.9% 0.0421 -0.1849)
OKLCHoklch(44.9% 0.19 282.8)
XYZxyz(13.1727, 7.9639, 46.1812)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39B8 #A4B839
analogous
#3964B8 #4D39B8 #8D39B8
triadic
#4D39B8 #B84D39 #39B84D
tetradic
#4D39B8 #B83964 #A4B839 #39B88D
square
#4D39B8 #B83964 #A4B839 #39B88D
split-complementary
#4D39B8 #B88D39 #64B839
monochromatic
#261C5B #392B89 #4D39B8 #7260CE #9B8FDC

Accessibility & contrast

On white

8.10
#4D39B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D39B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39B8
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39B8#FFFFFF#000000##FFFFFF
##4D39B81.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#004BB6
Tritanopia (blue-blind)
#0E5A74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d39b8;
/* rgb */ color: rgb(77, 57, 184);
/* oklch */ color: oklch(44.9% 0.190 282.8);
Tailwind
colors: {
  custom: {
    50: '#8a71ce',
    500: '#4d39b8',
    950: '#000000',
  },
}
SCSS
$custom: #4d39b8;
$custom-light: #8a71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39b8",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 249.449,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44901,
    "c": 0.18961,
    "h": 282.8
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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