#4B50EC#4B50EC

#4B50EC is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.229 H 274.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4B50EC
RGBrgb(75, 80, 236)
HSLhsl(238, 81%, 61%)
HSVhsv(238, 68%, 93%)
CMYKcmyk(68.2%, 66.1%, 0%, 7.5%)
CIE-LABlab(43.19, 46.68, -79.02)
CIE-LCHlch(43.19, 91.77, 300.57°)
OKLaboklab(52.95% 0.0159 -0.2283)
OKLCHoklch(52.95% 0.229 274)
XYZxyz(20.9056, 13.2873, 80.8036)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B50EC #ECE74B
analogous
#4BA0EC #4B50EC #964BEC
triadic
#4B50EC #EC4B50 #50EC4B
tetradic
#4B50EC #EC4BA0 #ECE74B #4BEC96
square
#4B50EC #EC4BA0 #ECE74B #4BEC96
split-complementary
#4B50EC #EC964B #A0EC4B
monochromatic
#1217AB #181EE2 #4B50EC #8286F2 #BABCF8

Accessibility & contrast

On white

5.74
#4B50EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4B50EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B50EC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B50EC#FFFFFF#000000##FFFFFF
##4B50EC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#005FE9
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b50ec;
/* rgb */ color: rgb(75, 80, 236);
/* oklch */ color: oklch(53.0% 0.229 274.0);
Tailwind
colors: {
  custom: {
    50: '#9182f3',
    500: '#4b50ec',
    950: '#000000',
  },
}
SCSS
$custom: #4b50ec;
$custom-light: #9182f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b50ec",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 236
  },
  "hsl": {
    "h": 238.137,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52953,
    "c": 0.22881,
    "h": 274
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#4B50EC
secondary
#E8E6AB
accent
#D708DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4B50EC

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

Preview Lab → · Contrast checker → · Palette generator →

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