#4D50D6#4D50D6

#4D50D6 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.2% C 0.201 H 275.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4D50D6
RGBrgb(77, 80, 214)
HSLhsl(239, 63%, 57%)
HSVhsv(239, 64%, 84%)
CMYKcmyk(64%, 62.6%, 0%, 16.1%)
CIE-LABlab(41.48, 39.70, -69.30)
CIE-LCHlch(41.48, 79.86, 299.81°)
OKLaboklab(51.17% 0.0199 -0.1997)
OKLCHoklch(51.17% 0.201 275.7)
XYZxyz(18.0629, 12.1686, 65.0022)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50D6 #D6D34D
analogous
#4D95D6 #4D50D6 #8F4DD6
triadic
#4D50D6 #D64D50 #50D64D
tetradic
#4D50D6 #D64D95 #D6D34D #4DD68F
square
#4D50D6 #D64D95 #D6D34D #4DD68F
split-complementary
#4D50D6 #D68F4D #95D64D
monochromatic
#202289 #2B2EBB #4D50D6 #7F81E1 #B0B2ED

Accessibility & contrast

On white

6.12
#4D50D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4D50D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50D6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50D6#FFFFFF#000000##FFFFFF
##4D50D61.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#005CD3
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d50d6;
/* rgb */ color: rgb(77, 80, 214);
/* oklch */ color: oklch(51.2% 0.201 275.7);
Tailwind
colors: {
  custom: {
    50: '#8e81e4',
    500: '#4d50d6',
    950: '#000000',
  },
}
SCSS
$custom: #4d50d6;
$custom-light: #8e81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50d6",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 214
  },
  "hsl": {
    "h": 238.686,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51173,
    "c": 0.20071,
    "h": 275.7
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#4D50D6
secondary
#DBDAA4
accent
#E242E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D50D6

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

Preview Lab → · Contrast checker → · Palette generator →

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