#4C50D7#4C50D7

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

Color values

HEX#4C50D7
RGBrgb(76, 80, 215)
HSLhsl(238, 63%, 57%)
HSVhsv(238, 65%, 84%)
CMYKcmyk(64.7%, 62.8%, 0%, 15.7%)
CIE-LABlab(41.50, 39.88, -69.85)
CIE-LCHlch(41.50, 80.43, 299.73°)
OKLaboklab(51.19% 0.0187 -0.2014)
OKLCHoklch(51.19% 0.202 275.3)
XYZxyz(18.1109, 12.1786, 65.6731)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50D7 #D7D34C
analogous
#4C96D7 #4C50D7 #8D4CD7
triadic
#4C50D7 #D74C50 #50D74C
tetradic
#4C50D7 #D74C96 #D7D34C #4CD78D
square
#4C50D7 #D74C96 #D7D34C #4CD78D
split-complementary
#4C50D7 #D78D4C #96D74C
monochromatic
#1F228A #2A2EBC #4C50D7 #7E81E2 #B0B2ED

Accessibility & contrast

On white

6.11
#4C50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4C50D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50D7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50D7#FFFFFF#000000##FFFFFF
##4C50D71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c50d7;
/* rgb */ color: rgb(76, 80, 215);
/* oklch */ color: oklch(51.2% 0.202 275.3);
Tailwind
colors: {
  custom: {
    50: '#8d81e4',
    500: '#4c50d7',
    950: '#000000',
  },
}
SCSS
$custom: #4c50d7;
$custom-light: #8d81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50d7",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 238.273,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.20223,
    "h": 275.3
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#4C50D7
secondary
#DCDAA3
accent
#E241E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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