#4D39B2#4D39B2

#4D39B2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.4% C 0.182 H 283.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4D39B2
RGBrgb(77, 57, 178)
HSLhsl(250, 51%, 46%)
HSVhsv(250, 68%, 70%)
CMYKcmyk(56.7%, 68%, 0%, 30.2%)
CIE-LABlab(33.39, 41.78, -61.51)
CIE-LCHlch(33.39, 74.36, 304.18°)
OKLaboklab(44.37% 0.043 -0.1769)
OKLCHoklch(44.37% 0.182 283.7)
XYZxyz(12.5571, 7.7176, 42.9388)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39B2 #9EB239
analogous
#3961B2 #4D39B2 #8939B2
triadic
#4D39B2 #B24D39 #39B24D
tetradic
#4D39B2 #B23961 #9EB239 #39B289
square
#4D39B2 #B23961 #9EB239 #39B289
split-complementary
#4D39B2 #B28939 #61B239
monochromatic
#251B55 #392A84 #4D39B2 #6F5DCB #988BDA

Accessibility & contrast

On white

8.26
#4D39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4D39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39B2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39B2#FFFFFF#000000##FFFFFF
##4D39B21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#1A5871
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d39b2;
/* rgb */ color: rgb(77, 57, 178);
/* oklch */ color: oklch(44.4% 0.182 283.7);
Tailwind
colors: {
  custom: {
    50: '#8971ca',
    500: '#4d39b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d39b2;
$custom-light: #8971ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39b2",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 249.917,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44368,
    "c": 0.18209,
    "h": 283.7
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

primary
#4D39B2
secondary
#BAC482
accent
#DB4DC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4D39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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