#4C50CE#4C50CE

#4C50CE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.191 H 275.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4C50CE
RGBrgb(76, 80, 206)
HSLhsl(238, 57%, 55%)
HSVhsv(238, 63%, 81%)
CMYKcmyk(63.1%, 61.2%, 0%, 19.2%)
CIE-LABlab(40.78, 36.89, -65.84)
CIE-LCHlch(40.78, 75.47, 299.26°)
OKLaboklab(50.44% 0.0192 -0.1896)
OKLCHoklch(50.44% 0.191 275.8)
XYZxyz(16.9861, 11.7287, 59.7493)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50CE #CECA4C
analogous
#4C91CE #4C50CE #894CCE
triadic
#4C50CE #CE4C50 #50CE4C
tetradic
#4C50CE #CE4C91 #CECA4C #4CCE89
square
#4C50CE #CE4C91 #CECA4C #4CCE89
split-complementary
#4C50CE #CE894C #91CE4C
monochromatic
#22257D #2F33AD #4C50CE #7C7FDB #ACAEE8

Accessibility & contrast

On white

6.28
#4C50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4C50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50CE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50CE#FFFFFF#000000##FFFFFF
##4C50CE1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c50ce;
/* rgb */ color: rgb(76, 80, 206);
/* oklch */ color: oklch(50.4% 0.191 275.8);
Tailwind
colors: {
  custom: {
    50: '#8c81de',
    500: '#4c50ce',
    950: '#000000',
  },
}
SCSS
$custom: #4c50ce;
$custom-light: #8c81de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50ce",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 238.154,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50444,
    "c": 0.19057,
    "h": 275.8
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#4C50CE
secondary
#D6D4A0
accent
#DC48E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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