#4A4ED8#4A4ED8

#4A4ED8 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.8% C 0.206 H 275.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4A4ED8
RGBrgb(74, 78, 216)
HSLhsl(238, 65%, 57%)
HSVhsv(238, 66%, 85%)
CMYKcmyk(65.7%, 63.9%, 0%, 15.3%)
CIE-LABlab(40.99, 41.14, -71.25)
CIE-LCHlch(40.99, 82.27, 300.00°)
OKLaboklab(50.82% 0.0179 -0.2055)
OKLCHoklch(50.82% 0.206 275)
XYZxyz(17.9390, 11.8609, 66.2965)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ED8 #D8D44A
analogous
#4A95D8 #4A4ED8 #8D4AD8
triadic
#4A4ED8 #D84A4E #4ED84A
tetradic
#4A4ED8 #D84A95 #D8D44A #4AD88D
square
#4A4ED8 #D84A95 #D8D44A #4AD88D
split-complementary
#4A4ED8 #D88D4A #95D84A
monochromatic
#1E218A #292DBC #4A4ED8 #7C7FE3 #AFB0EE

Accessibility & contrast

On white

6.23
#4A4ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4A4ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ED8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ED8#FFFFFF#000000##FFFFFF
##4A4ED81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a4ed8;
/* rgb */ color: rgb(74, 78, 216);
/* oklch */ color: oklch(50.8% 0.206 275.0);
Tailwind
colors: {
  custom: {
    50: '#8d80e5',
    500: '#4a4ed8',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ed8;
$custom-light: #8d80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ed8",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 238.31,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.20631,
    "h": 275
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#4A4ED8
secondary
#DCDAA2
accent
#E340E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A4ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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