#4A4ED5#4A4ED5

#4A4ED5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.6% C 0.202 H 275.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4A4ED5
RGBrgb(74, 78, 213)
HSLhsl(238, 62%, 56%)
HSVhsv(238, 65%, 84%)
CMYKcmyk(65.3%, 63.4%, 0%, 16.5%)
CIE-LABlab(40.75, 40.15, -69.93)
CIE-LCHlch(40.75, 80.64, 299.86°)
OKLaboklab(50.56% 0.0181 -0.2017)
OKLCHoklch(50.56% 0.202 275.1)
XYZxyz(17.5547, 11.7072, 64.2725)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ED5 #D5D14A
analogous
#4A94D5 #4A4ED5 #8C4AD5
triadic
#4A4ED5 #D54A4E #4ED54A
tetradic
#4A4ED5 #D54A94 #D5D14A #4AD58C
square
#4A4ED5 #D54A94 #D5D14A #4AD58C
split-complementary
#4A4ED5 #D58C4A #94D54A
monochromatic
#1F2286 #2B2FB7 #4A4ED5 #7C7FE1 #ADAFEC

Accessibility & contrast

On white

6.28
#4A4ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4A4ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ED5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ED5#FFFFFF#000000##FFFFFF
##4A4ED51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a4ed5;
/* rgb */ color: rgb(74, 78, 213);
/* oklch */ color: oklch(50.6% 0.202 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c80e3',
    500: '#4a4ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ed5;
$custom-light: #8c80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ed5",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 238.273,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.20248,
    "h": 275.1
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#4A4ED5
secondary
#DAD8A1
accent
#E142E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4A4ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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