#4C50E5#4C50E5

#4C50E5 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.220 H 274.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4C50E5
RGBrgb(76, 80, 229)
HSLhsl(238, 75%, 60%)
HSVhsv(238, 67%, 90%)
CMYKcmyk(66.8%, 65.1%, 0%, 10.2%)
CIE-LABlab(42.66, 44.50, -75.93)
CIE-LCHlch(42.66, 88.01, 300.37°)
OKLaboklab(52.4% 0.0176 -0.2192)
OKLCHoklch(52.4% 0.22 274.6)
XYZxyz(19.9873, 12.9291, 75.5558)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50E5 #E5E14C
analogous
#4C9DE5 #4C50E5 #944CE5
triadic
#4C50E5 #E54C50 #50E54C
tetradic
#4C50E5 #E54C9D #E5E14C #4CE594
square
#4C50E5 #E54C9D #E5E14C #4CE594
split-complementary
#4C50E5 #E5944C #9DE54C
monochromatic
#171B9F #1F24D5 #4C50E5 #8184ED #B7B8F5

Accessibility & contrast

On white

5.86
#4C50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4C50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50E5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50E5#FFFFFF#000000##FFFFFF
##4C50E51.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c50e5;
/* rgb */ color: rgb(76, 80, 229);
/* oklch */ color: oklch(52.4% 0.220 274.6);
Tailwind
colors: {
  custom: {
    50: '#9081ee',
    500: '#4c50e5',
    950: '#000000',
  },
}
SCSS
$custom: #4c50e5;
$custom-light: #9081ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50e5",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 238.431,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.21992,
    "h": 274.6
  },
  "luminance": 0.12931
}

Semantic roles & 50–950 ramp

primary
#4C50E5
secondary
#E4E2A9
accent
#EC37F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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