#4A50E0#4A50E0

#4A50E0 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.8% C 0.214 H 274.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4A50E0
RGBrgb(74, 80, 224)
HSLhsl(238, 71%, 58%)
HSVhsv(238, 67%, 88%)
CMYKcmyk(67%, 64.3%, 0%, 12.2%)
CIE-LABlab(42.11, 42.60, -73.99)
CIE-LCHlch(42.11, 85.37, 299.93°)
OKLaboklab(51.84% 0.0158 -0.2135)
OKLCHoklch(51.84% 0.214 274.2)
XYZxyz(19.1428, 12.5732, 71.9246)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A50E0 #E0DA4A
analogous
#4A9BE0 #4A50E0 #8F4AE0
triadic
#4A50E0 #E04A50 #50E04A
tetradic
#4A50E0 #E04A9B #E0DA4A #4AE08F
square
#4A50E0 #E04A9B #E0DA4A #4AE08F
split-complementary
#4A50E0 #E08F4A #9BE04A
monochromatic
#1A1F96 #2329CA #4A50E0 #7E83E9 #B3B5F2

Accessibility & contrast

On white

5.97
#4A50E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4A50E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A50E0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A50E0#FFFFFF#000000##FFFFFF
##4A50E01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#005DDD
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a50e0;
/* rgb */ color: rgb(74, 80, 224);
/* oklch */ color: oklch(51.8% 0.214 274.2);
Tailwind
colors: {
  custom: {
    50: '#8e81eb',
    500: '#4a50e0',
    950: '#000000',
  },
}
SCSS
$custom: #4a50e0;
$custom-light: #8e81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a50e0",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 224
  },
  "hsl": {
    "h": 237.6,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.21413,
    "h": 274.2
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#4A50E0
secondary
#E1DEA5
accent
#E63AEE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A50E0

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

Preview Lab → · Contrast checker → · Palette generator →

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