#4D50AE#4D50AE

#4D50AE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.147 H 277.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4D50AE
RGBrgb(77, 80, 174)
HSLhsl(238, 39%, 49%)
HSVhsv(238, 56%, 68%)
CMYKcmyk(55.7%, 54%, 0%, 31.8%)
CIE-LABlab(38.50, 26.40, -50.84)
CIE-LCHlch(38.50, 57.28, 297.44°)
OKLaboklab(48.03% 0.0203 -0.1454)
OKLCHoklch(48.03% 0.147 277.9)
XYZxyz(13.5668, 10.3702, 41.3229)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50AE #AEAB4D
analogous
#4D81AE #4D50AE #7B4DAE
triadic
#4D50AE #AE4D50 #50AE4D
tetradic
#4D50AE #AE4D81 #AEAB4D #4DAE7B
square
#4D50AE #AE4D81 #AEAB4D #4DAE7B
split-complementary
#4D50AE #AE7B4D #81AE4D
monochromatic
#272959 #3A3C84 #4D50AE #7678C2 #A0A2D5

Accessibility & contrast

On white

6.83
#4D50AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D50AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50AE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50AE#FFFFFF#000000##FFFFFF
##4D50AE1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB1
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#1C6577
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d50ae;
/* rgb */ color: rgb(77, 80, 174);
/* oklch */ color: oklch(48.0% 0.147 277.9);
Tailwind
colors: {
  custom: {
    50: '#8781c7',
    500: '#4d50ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d50ae;
$custom-light: #8781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50ae",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 238.144,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48026,
    "c": 0.14686,
    "h": 277.9
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#4D50AE
secondary
#C2C195
accent
#CB59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D50AE

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

Preview Lab → · Contrast checker → · Palette generator →

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