#4C50D4#4C50D4

#4C50D4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.198 H 275.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4C50D4
RGBrgb(76, 80, 212)
HSLhsl(238, 61%, 56%)
HSVhsv(238, 64%, 83%)
CMYKcmyk(64.2%, 62.3%, 0%, 16.9%)
CIE-LABlab(41.26, 38.89, -68.52)
CIE-LCHlch(41.26, 78.78, 299.58°)
OKLaboklab(50.94% 0.0189 -0.1975)
OKLCHoklch(50.94% 0.198 275.5)
XYZxyz(17.7289, 12.0258, 63.6615)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50D4 #D4D04C
analogous
#4C94D4 #4C50D4 #8C4CD4
triadic
#4C50D4 #D44C50 #50D44C
tetradic
#4C50D4 #D44C94 #D4D04C #4CD48C
square
#4C50D4 #D44C94 #D4D04C #4CD48C
split-complementary
#4C50D4 #D48C4C #94D44C
monochromatic
#202386 #2C30B7 #4C50D4 #7D80E0 #AFB0EC

Accessibility & contrast

On white

6.17
#4C50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4C50D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50D4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50D4#FFFFFF#000000##FFFFFF
##4C50D41.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c50d4;
/* rgb */ color: rgb(76, 80, 212);
/* oklch */ color: oklch(50.9% 0.198 275.5);
Tailwind
colors: {
  custom: {
    50: '#8d81e2',
    500: '#4c50d4',
    950: '#000000',
  },
}
SCSS
$custom: #4c50d4;
$custom-light: #8d81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50d4",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 238.235,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.19836,
    "h": 275.5
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#4C50D4
secondary
#DAD8A2
accent
#E043E4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4C50D4

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

Preview Lab → · Contrast checker → · Palette generator →

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