#4D39CB#4D39CB

#4D39CB is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.7% C 0.213 H 280.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4D39CB
RGBrgb(77, 57, 203)
HSLhsl(248, 58%, 51%)
HSVhsv(248, 72%, 80%)
CMYKcmyk(62.1%, 71.9%, 0%, 20.4%)
CIE-LABlab(35.63, 49.47, -72.54)
CIE-LCHlch(35.63, 87.80, 304.29°)
OKLaboklab(46.65% 0.0386 -0.2092)
OKLCHoklch(46.65% 0.213 280.5)
XYZxyz(15.2998, 8.8147, 57.3835)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39CB #B7CB39
analogous
#396ECB #4D39CB #9639CB
triadic
#4D39CB #CB4D39 #39CB4D
tetradic
#4D39CB #CB396E #B7CB39 #39CB96
square
#4D39CB #CB396E #B7CB39 #39CB96
split-complementary
#4D39CB #CB9639 #6ECB39
monochromatic
#281D6D #39299D #4D39CB #7969D8 #A49AE4

Accessibility & contrast

On white

7.60
#4D39CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D39CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39CB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39CB#FFFFFF#000000##FFFFFF
##4D39CB1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004EC8
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d39cb;
/* rgb */ color: rgb(77, 57, 203);
/* oklch */ color: oklch(46.7% 0.213 280.5);
Tailwind
colors: {
  custom: {
    50: '#8e72dc',
    500: '#4d39cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d39cb;
$custom-light: #8e72dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39cb",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 248.219,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46652,
    "c": 0.21277,
    "h": 280.5
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#4D39CB
secondary
#C7D090
accent
#E246CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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