#4A50E2#4A50E2

#4A50E2 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.217 H 274.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4A50E2
RGBrgb(74, 80, 226)
HSLhsl(238, 72%, 59%)
HSVhsv(238, 67%, 89%)
CMYKcmyk(67.3%, 64.6%, 0%, 11.4%)
CIE-LABlab(42.28, 43.26, -74.85)
CIE-LCHlch(42.28, 86.45, 300.03°)
OKLaboklab(52.01% 0.0157 -0.2161)
OKLCHoklch(52.01% 0.217 274.1)
XYZxyz(19.4156, 12.6824, 73.3615)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50E2 #E2DC4A
analogous
#4A9CE2 #4A50E2 #904AE2
triadic
#4A50E2 #E24A50 #50E24A
tetradic
#4A50E2 #E24A9C #E2DC4A #4AE290
square
#4A50E2 #E24A9C #E2DC4A #4AE290
split-complementary
#4A50E2 #E2904A #9CE24A
monochromatic
#191E99 #2128CE #4A50E2 #7F83EA #B3B6F3

Accessibility & contrast

On white

5.94
#4A50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4A50E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50E2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50E2#FFFFFF#000000##FFFFFF
##4A50E21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a50e2;
/* rgb */ color: rgb(74, 80, 226);
/* oklch */ color: oklch(52.0% 0.217 274.1);
Tailwind
colors: {
  custom: {
    50: '#8f81ec',
    500: '#4a50e2',
    950: '#000000',
  },
}
SCSS
$custom: #4a50e2;
$custom-light: #8f81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50e2",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 237.632,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.21665,
    "h": 274.1
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#4A50E2
secondary
#E2DFA6
accent
#E839EF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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