#4A4EE4#4A4EE4

#4A4EE4 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.221 H 274.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4A4EE4
RGBrgb(74, 78, 228)
HSLhsl(238, 74%, 59%)
HSVhsv(238, 68%, 89%)
CMYKcmyk(67.5%, 65.8%, 0%, 10.6%)
CIE-LABlab(42.01, 45.11, -76.44)
CIE-LCHlch(42.01, 88.75, 300.55°)
OKLaboklab(51.87% 0.0168 -0.2207)
OKLCHoklch(51.87% 0.221 274.4)
XYZxyz(19.5474, 12.5043, 74.7672)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EE4 #E4E04A
analogous
#4A9BE4 #4A4EE4 #934AE4
triadic
#4A4EE4 #E44A4E #4EE44A
tetradic
#4A4EE4 #E44A9B #E4E04A #4AE493
square
#4A4EE4 #E44A9B #E4E04A #4AE493
split-complementary
#4A4EE4 #E4934A #9BE44A
monochromatic
#171B9C #1F24D2 #4A4EE4 #7F82EC #B5B6F4

Accessibility & contrast

On white

6.00
#4A4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4A4EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EE4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EE4#FFFFFF#000000##FFFFFF
##4A4EE41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005CE1
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a4ee4;
/* rgb */ color: rgb(74, 78, 228);
/* oklch */ color: oklch(51.9% 0.221 274.4);
Tailwind
colors: {
  custom: {
    50: '#8f80ee',
    500: '#4a4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ee4;
$custom-light: #8f80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ee4",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 238.442,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51865,
    "c": 0.22137,
    "h": 274.4
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#4A4EE4
secondary
#E3E1A7
accent
#EC37F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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