#4A4ED2#4A4ED2

#4A4ED2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.199 H 275.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4A4ED2
RGBrgb(74, 78, 210)
HSLhsl(238, 60%, 56%)
HSVhsv(238, 65%, 82%)
CMYKcmyk(64.8%, 62.9%, 0%, 17.6%)
CIE-LABlab(40.50, 39.15, -68.61)
CIE-LCHlch(40.50, 78.99, 299.71°)
OKLaboklab(50.3% 0.0183 -0.1978)
OKLCHoklch(50.3% 0.199 275.3)
XYZxyz(17.1775, 11.5563, 62.2856)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ED2 #D2CE4A
analogous
#4A92D2 #4A4ED2 #8A4AD2
triadic
#4A4ED2 #D24A4E #4ED24A
tetradic
#4A4ED2 #D24A92 #D2CE4A #4AD28A
square
#4A4ED2 #D24A92 #D2CE4A #4AD28A
split-complementary
#4A4ED2 #D28A4A #92D24A
monochromatic
#202381 #2C30B2 #4A4ED2 #7B7EDE #ACAEEA

Accessibility & contrast

On white

6.34
#4A4ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4A4ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ED2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ED2#FFFFFF#000000##FFFFFF
##4A4ED21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a4ed2;
/* rgb */ color: rgb(74, 78, 210);
/* oklch */ color: oklch(50.3% 0.199 275.3);
Tailwind
colors: {
  custom: {
    50: '#8c80e1',
    500: '#4a4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ed2;
$custom-light: #8c80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ed2",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 238.235,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.19863,
    "h": 275.3
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#4A4ED2
secondary
#D8D7A0
accent
#DF44E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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