#4C50DF#4C50DF

#4C50DF is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.9% C 0.212 H 274.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4C50DF
RGBrgb(76, 80, 223)
HSLhsl(238, 70%, 59%)
HSVhsv(238, 66%, 87%)
CMYKcmyk(65.9%, 64.1%, 0%, 12.5%)
CIE-LABlab(42.15, 42.53, -73.35)
CIE-LCHlch(42.15, 84.78, 300.11°)
OKLaboklab(51.88% 0.0181 -0.2116)
OKLCHoklch(51.88% 0.212 274.9)
XYZxyz(19.1640, 12.5998, 71.2198)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50DF #DFDB4C
analogous
#4C99DF #4C50DF #914CDF
triadic
#4C50DF #DF4C50 #50DF4C
tetradic
#4C50DF #DF4C99 #DFDB4C #4CDF91
square
#4C50DF #DF4C99 #DFDB4C #4CDF91
split-complementary
#4C50DF #DF914C #99DF4C
monochromatic
#1B1E96 #2429CA #4C50DF #8083E8 #B4B6F2

Accessibility & contrast

On white

5.97
#4C50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4C50DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50DF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50DF#FFFFFF#000000##FFFFFF
##4C50DF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c50df;
/* rgb */ color: rgb(76, 80, 223);
/* oklch */ color: oklch(51.9% 0.212 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f81ea',
    500: '#4c50df',
    950: '#000000',
  },
}
SCSS
$custom: #4c50df;
$custom-light: #8f81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50df",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 238.367,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51875,
    "c": 0.2124,
    "h": 274.9
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#4C50DF
secondary
#E0DFA6
accent
#E83BEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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