#4C50EB#4C50EB

#4C50EB is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.9% C 0.227 H 274.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4C50EB
RGBrgb(76, 80, 235)
HSLhsl(238, 80%, 61%)
HSVhsv(238, 68%, 92%)
CMYKcmyk(67.7%, 66%, 0%, 7.8%)
CIE-LABlab(43.17, 46.47, -78.49)
CIE-LCHlch(43.17, 91.22, 300.63°)
OKLaboklab(52.92% 0.0171 -0.2267)
OKLCHoklch(52.92% 0.227 274.3)
XYZxyz(20.8396, 13.2700, 80.0443)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50EB #EBE74C
analogous
#4C9FEB #4C50EB #984CEB
triadic
#4C50EB #EB4C50 #50EB4C
tetradic
#4C50EB #EB4C9F #EBE74C #4CEB98
square
#4C50EB #EB4C9F #EBE74C #4CEB98
split-complementary
#4C50EB #EB984C #9FEB4C
monochromatic
#1317AA #191EE1 #4C50EB #8386F1 #BABCF7

Accessibility & contrast

On white

5.75
#4C50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4C50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50EB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50EB#FFFFFF#000000##FFFFFF
##4C50EB1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c50eb;
/* rgb */ color: rgb(76, 80, 235);
/* oklch */ color: oklch(52.9% 0.227 274.3);
Tailwind
colors: {
  custom: {
    50: '#9182f3',
    500: '#4c50eb',
    950: '#000000',
  },
}
SCSS
$custom: #4c50eb;
$custom-light: #9182f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50eb",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 238.491,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.22734,
    "h": 274.3
  },
  "luminance": 0.13272
}

Semantic roles & 50–950 ramp

primary
#4C50EB
secondary
#E7E6AB
accent
#D709DC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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