#4A4ED4#4A4ED4

#4A4ED4 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.5% C 0.201 H 275.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4A4ED4
RGBrgb(74, 78, 212)
HSLhsl(238, 62%, 56%)
HSVhsv(238, 65%, 83%)
CMYKcmyk(65.1%, 63.2%, 0%, 16.9%)
CIE-LABlab(40.67, 39.81, -69.49)
CIE-LCHlch(40.67, 80.09, 299.81°)
OKLaboklab(50.47% 0.0182 -0.2004)
OKLCHoklch(50.47% 0.201 275.2)
XYZxyz(17.4282, 11.6566, 63.6061)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ED4 #D4D04A
analogous
#4A93D4 #4A4ED4 #8B4AD4
triadic
#4A4ED4 #D44A4E #4ED44A
tetradic
#4A4ED4 #D44A93 #D4D04A #4AD48B
square
#4A4ED4 #D44A93 #D4D04A #4AD48B
split-complementary
#4A4ED4 #D48B4A #93D44A
monochromatic
#1F2284 #2B2FB6 #4A4ED4 #7B7EE0 #ADAFEB

Accessibility & contrast

On white

6.30
#4A4ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4A4ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ED4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ED4#FFFFFF#000000##FFFFFF
##4A4ED41.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a4ed4;
/* rgb */ color: rgb(74, 78, 212);
/* oklch */ color: oklch(50.5% 0.201 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c80e2',
    500: '#4a4ed4',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ed4;
$custom-light: #8c80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ed4",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 238.261,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.2012,
    "h": 275.2
  },
  "luminance": 0.11658
}

Semantic roles & 50–950 ramp

primary
#4A4ED4
secondary
#D9D8A0
accent
#E043E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4A4ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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