#4D50D8#4D50D8

#4D50D8 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.3% C 0.203 H 275.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4D50D8
RGBrgb(77, 80, 216)
HSLhsl(239, 64%, 57%)
HSVhsv(239, 64%, 85%)
CMYKcmyk(64.4%, 63%, 0%, 15.3%)
CIE-LABlab(41.64, 40.36, -70.18)
CIE-LCHlch(41.64, 80.95, 299.90°)
OKLaboklab(51.34% 0.0198 -0.2023)
OKLCHoklch(51.34% 0.203 275.6)
XYZxyz(18.3198, 12.2714, 66.3556)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50D8 #D8D54D
analogous
#4D96D8 #4D50D8 #8F4DD8
triadic
#4D50D8 #D84D50 #50D84D
tetradic
#4D50D8 #D84D96 #D8D54D #4DD88F
square
#4D50D8 #D84D96 #D8D54D #4DD88F
split-complementary
#4D50D8 #D88F4D #96D84D
monochromatic
#1F218C #2A2DBE #4D50D8 #7F81E3 #B1B3EE

Accessibility & contrast

On white

6.08
#4D50D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4D50D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50D8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50D8#FFFFFF#000000##FFFFFF
##4D50D81.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d50d8;
/* rgb */ color: rgb(77, 80, 216);
/* oklch */ color: oklch(51.3% 0.203 275.6);
Tailwind
colors: {
  custom: {
    50: '#8e81e5',
    500: '#4d50d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d50d8;
$custom-light: #8e81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50d8",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 238.705,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51342,
    "c": 0.20328,
    "h": 275.6
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#4D50D8
secondary
#DCDBA4
accent
#E341E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D50D8

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

Preview Lab → · Contrast checker → · Palette generator →

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