#4E4AC5#4E4AC5

#4E4AC5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.8% C 0.186 H 278.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4E4AC5
RGBrgb(78, 74, 197)
HSLhsl(242, 51%, 53%)
HSVhsv(242, 62%, 77%)
CMYKcmyk(60.4%, 62.4%, 0%, 22.7%)
CIE-LABlab(38.81, 37.90, -63.84)
CIE-LCHlch(38.81, 74.24, 300.70°)
OKLaboklab(48.81% 0.0272 -0.1837)
OKLCHoklch(48.81% 0.186 278.4)
XYZxyz(15.6655, 10.5473, 54.0228)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AC5 #C1C54A
analogous
#4A83C5 #4E4AC5 #8B4AC5
triadic
#4E4AC5 #C54E4A #4AC54E
tetradic
#4E4AC5 #C54A83 #C1C54A #4AC58B
square
#4E4AC5 #C54A83 #C1C54A #4AC58B
split-complementary
#4E4AC5 #C58B4A #83C54A
monochromatic
#272471 #36339F #4E4AC5 #7B78D4 #A9A7E3

Accessibility & contrast

On white

6.75
#4E4AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4E4AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4AC5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AC5#FFFFFF#000000##FFFFFF
##4E4AC51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4ac5;
/* rgb */ color: rgb(78, 74, 197);
/* oklch */ color: oklch(48.8% 0.186 278.4);
Tailwind
colors: {
  custom: {
    50: '#8c7dd7',
    500: '#4e4ac5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ac5;
$custom-light: #8c7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ac5",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 241.951,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.18571,
    "h": 278.4
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

primary
#4E4AC5
secondary
#CED09B
accent
#DB4DD6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E4AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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