#4A4ED6#4A4ED6

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

Color values

HEX#4A4ED6
RGBrgb(74, 78, 214)
HSLhsl(238, 63%, 56%)
HSVhsv(238, 65%, 84%)
CMYKcmyk(65.4%, 63.6%, 0%, 16.1%)
CIE-LABlab(40.83, 40.48, -70.37)
CIE-LCHlch(40.83, 81.18, 299.91°)
OKLaboklab(50.64% 0.018 -0.203)
OKLCHoklch(50.64% 0.204 275.1)
XYZxyz(17.6820, 11.7581, 64.9430)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ED6 #D6D24A
analogous
#4A94D6 #4A4ED6 #8C4AD6
triadic
#4A4ED6 #D64A4E #4ED64A
tetradic
#4A4ED6 #D64A94 #D6D24A #4AD68C
square
#4A4ED6 #D64A94 #D6D24A #4AD68C
split-complementary
#4A4ED6 #D68C4A #94D64A
monochromatic
#1F2287 #2A2EB9 #4A4ED6 #7C7FE1 #AEB0ED

Accessibility & contrast

On white

6.26
#4A4ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4A4ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ED6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ED6#FFFFFF#000000##FFFFFF
##4A4ED61.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#005AD3
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a4ed6;
/* rgb */ color: rgb(74, 78, 214);
/* oklch */ color: oklch(50.6% 0.204 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d80e4',
    500: '#4a4ed6',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ed6;
$custom-light: #8d80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ed6",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 238.286,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.20376,
    "h": 275.1
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#4A4ED6
secondary
#DBD9A1
accent
#E142E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A4ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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