#4A4ED9#4A4ED9

#4A4ED9 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.9% C 0.208 H 274.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4A4ED9
RGBrgb(74, 78, 217)
HSLhsl(238, 65%, 57%)
HSVhsv(238, 66%, 85%)
CMYKcmyk(65.9%, 64.1%, 0%, 14.9%)
CIE-LABlab(41.08, 41.47, -71.69)
CIE-LCHlch(41.08, 82.82, 300.05°)
OKLaboklab(50.9% 0.0178 -0.2068)
OKLCHoklch(50.9% 0.208 274.9)
XYZxyz(18.0687, 11.9128, 66.9794)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ED9 #D9D54A
analogous
#4A95D9 #4A4ED9 #8E4AD9
triadic
#4A4ED9 #D94A4E #4ED94A
tetradic
#4A4ED9 #D94A95 #D9D54A #4AD98E
square
#4A4ED9 #D94A95 #D9D54A #4AD98E
split-complementary
#4A4ED9 #D98E4A #95D94A
monochromatic
#1D208B #282CBE #4A4ED9 #7D7FE4 #AFB1EE

Accessibility & contrast

On white

6.21
#4A4ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4A4ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ED9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ED9#FFFFFF#000000##FFFFFF
##4A4ED91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a4ed9;
/* rgb */ color: rgb(74, 78, 217);
/* oklch */ color: oklch(50.9% 0.208 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d80e6',
    500: '#4a4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ed9;
$custom-light: #8d80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ed9",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 238.322,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.20759,
    "h": 274.9
  },
  "luminance": 0.11914
}

Semantic roles & 50–950 ramp

primary
#4A4ED9
secondary
#DCDBA2
accent
#E440E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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