#4C50D5#4C50D5

#4C50D5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.200 H 275.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4C50D5
RGBrgb(76, 80, 213)
HSLhsl(238, 62%, 57%)
HSVhsv(238, 64%, 84%)
CMYKcmyk(64.3%, 62.4%, 0%, 16.5%)
CIE-LABlab(41.34, 39.22, -68.96)
CIE-LCHlch(41.34, 79.33, 299.63°)
OKLaboklab(51.03% 0.0188 -0.1988)
OKLCHoklch(51.03% 0.2 275.4)
XYZxyz(17.8554, 12.0764, 64.3279)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50D5 #D5D14C
analogous
#4C95D5 #4C50D5 #8D4CD5
triadic
#4C50D5 #D54C50 #50D54C
tetradic
#4C50D5 #D54C95 #D5D14C #4CD58D
square
#4C50D5 #D54C95 #D5D14C #4CD58D
split-complementary
#4C50D5 #D58D4C #95D54C
monochromatic
#202387 #2B2FB9 #4C50D5 #7E80E1 #AFB1EC

Accessibility & contrast

On white

6.15
#4C50D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4C50D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50D5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50D5#FFFFFF#000000##FFFFFF
##4C50D51.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c50d5;
/* rgb */ color: rgb(76, 80, 213);
/* oklch */ color: oklch(51.0% 0.200 275.4);
Tailwind
colors: {
  custom: {
    50: '#8d81e3',
    500: '#4c50d5',
    950: '#000000',
  },
}
SCSS
$custom: #4c50d5;
$custom-light: #8d81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50d5",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 238.248,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.19966,
    "h": 275.4
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#4C50D5
secondary
#DAD9A2
accent
#E043E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C50D5

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

Preview Lab → · Contrast checker → · Palette generator →

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