#4A50E7#4A50E7

#4A50E7 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.223 H 273.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4A50E7
RGBrgb(74, 80, 231)
HSLhsl(238, 77%, 60%)
HSVhsv(238, 68%, 91%)
CMYKcmyk(68%, 65.4%, 0%, 9.4%)
CIE-LABlab(42.70, 44.91, -76.99)
CIE-LCHlch(42.70, 89.14, 300.26°)
OKLaboklab(52.45% 0.0152 -0.2224)
OKLCHoklch(52.45% 0.223 273.9)
XYZxyz(20.1117, 12.9608, 77.0276)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50E7 #E7E14A
analogous
#4A9FE7 #4A50E7 #934AE7
triadic
#4A50E7 #E74A50 #50E74A
tetradic
#4A50E7 #E74A9F #E7E14A #4AE793
square
#4A50E7 #E74A9F #E7E14A #4AE793
split-complementary
#4A50E7 #E7934A #9FE74A
monochromatic
#151BA1 #1D24D7 #4A50E7 #8084EE #B6B8F5

Accessibility & contrast

On white

5.85
#4A50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A50E7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50E7#FFFFFF#000000##FFFFFF
##4A50E71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a50e7;
/* rgb */ color: rgb(74, 80, 231);
/* oklch */ color: oklch(52.4% 0.223 273.9);
Tailwind
colors: {
  custom: {
    50: '#9081f0',
    500: '#4a50e7',
    950: '#000000',
  },
}
SCSS
$custom: #4a50e7;
$custom-light: #9081f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50e7",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 237.707,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.22288,
    "h": 273.9
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#4A50E7
secondary
#E5E2A8
accent
#EC35F3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4A50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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