#4D39BB#4D39BB

#4D39BB is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.2% C 0.193 H 282.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4D39BB
RGBrgb(77, 57, 187)
HSLhsl(249, 53%, 48%)
HSVhsv(249, 70%, 73%)
CMYKcmyk(58.8%, 69.5%, 0%, 26.7%)
CIE-LABlab(34.17, 44.56, -65.56)
CIE-LCHlch(34.17, 79.27, 304.20°)
OKLaboklab(45.17% 0.0416 -0.1888)
OKLCHoklch(45.17% 0.193 282.4)
XYZxyz(13.4906, 8.0910, 47.8549)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39BB #A7BB39
analogous
#3966BB #4D39BB #8E39BB
triadic
#4D39BB #BB4D39 #39BB4D
tetradic
#4D39BB #BB3966 #A7BB39 #39BB8E
square
#4D39BB #BB3966 #A7BB39 #39BB8E
split-complementary
#4D39BB #BB8E39 #66BB39
monochromatic
#261C5D #3A2B8C #4D39BB #7362CF #9D91DD

Accessibility & contrast

On white

8.02
#4D39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4D39BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D39BB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D39BB#FFFFFF#000000##FFFFFF
##4D39BB1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#045B76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d39bb;
/* rgb */ color: rgb(77, 57, 187);
/* oklch */ color: oklch(45.2% 0.193 282.4);
Tailwind
colors: {
  custom: {
    50: '#8b71d1',
    500: '#4d39bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d39bb;
$custom-light: #8b71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39bb",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 249.231,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.19332,
    "h": 282.4
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#4D39BB
secondary
#BEC887
accent
#DD4BC6
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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