#4B50E5#4B50E5

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

Color values

HEX#4B50E5
RGBrgb(75, 80, 229)
HSLhsl(238, 75%, 60%)
HSVhsv(238, 67%, 90%)
CMYKcmyk(67.2%, 65.1%, 0%, 10.2%)
CIE-LABlab(42.59, 44.38, -76.04)
CIE-LCHlch(42.59, 88.04, 300.27°)
OKLaboklab(52.34% 0.0165 -0.2195)
OKLCHoklch(52.34% 0.22 274.3)
XYZxyz(19.9085, 12.8885, 75.5521)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B50E5 #E5E04B
analogous
#4B9DE5 #4B50E5 #934BE5
triadic
#4B50E5 #E54B50 #50E54B
tetradic
#4B50E5 #E54B9D #E5E04B #4BE593
square
#4B50E5 #E54B9D #E5E04B #4BE593
split-complementary
#4B50E5 #E5934B #9DE54B
monochromatic
#171B9F #1F25D4 #4B50E5 #8084ED #B6B8F4

Accessibility & contrast

On white

5.87
#4B50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4B50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B50E5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B50E5#FFFFFF#000000##FFFFFF
##4B50E51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.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: #4b50e5;
/* rgb */ color: rgb(75, 80, 229);
/* oklch */ color: oklch(52.3% 0.220 274.3);
Tailwind
colors: {
  custom: {
    50: '#9081ee',
    500: '#4b50e5',
    950: '#000000',
  },
}
SCSS
$custom: #4b50e5;
$custom-light: #9081ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4b50e5",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 238.052,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.22015,
    "h": 274.3
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#4B50E5
secondary
#E4E2A8
accent
#EB36F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4B50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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