#4D50D2#4D50D2

#4D50D2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.196 H 275.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4D50D2
RGBrgb(77, 80, 210)
HSLhsl(239, 60%, 56%)
HSVhsv(239, 63%, 82%)
CMYKcmyk(63.3%, 61.9%, 0%, 17.6%)
CIE-LABlab(41.16, 38.37, -67.52)
CIE-LCHlch(41.16, 77.66, 299.61°)
OKLaboklab(50.84% 0.0202 -0.1945)
OKLCHoklch(50.84% 0.196 275.9)
XYZxyz(17.5583, 11.9668, 62.3448)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50D2 #D2CF4D
analogous
#4D93D2 #4D50D2 #8D4DD2
triadic
#4D50D2 #D24D50 #50D24D
tetradic
#4D50D2 #D24D93 #D2CF4D #4DD28D
square
#4D50D2 #D24D93 #D2CF4D #4DD28D
split-complementary
#4D50D2 #D28D4D #93D24D
monochromatic
#212383 #2E31B4 #4D50D2 #7E80DE #AFB0EB

Accessibility & contrast

On white

6.19
#4D50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4D50D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50D2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50D2#FFFFFF#000000##FFFFFF
##4D50D21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d50d2;
/* rgb */ color: rgb(77, 80, 210);
/* oklch */ color: oklch(50.8% 0.196 275.9);
Tailwind
colors: {
  custom: {
    50: '#8d81e1',
    500: '#4d50d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d50d2;
$custom-light: #8d81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50d2",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 238.647,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.19554,
    "h": 275.9
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

primary
#4D50D2
secondary
#D9D8A2
accent
#DF45E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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