#4E4ACC#4E4ACC

#4E4ACC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.195 H 277.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4E4ACC
RGBrgb(78, 74, 204)
HSLhsl(242, 56%, 55%)
HSVhsv(242, 64%, 80%)
CMYKcmyk(61.8%, 63.7%, 0%, 20%)
CIE-LABlab(39.37, 40.18, -66.98)
CIE-LCHlch(39.37, 78.11, 300.96°)
OKLaboklab(49.4% 0.0267 -0.1929)
OKLCHoklch(49.4% 0.195 277.9)
XYZxyz(16.4862, 10.8756, 58.3455)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ACC #C8CC4A
analogous
#4A87CC #4E4ACC #8F4ACC
triadic
#4E4ACC #CC4E4A #4ACC4E
tetradic
#4E4ACC #CC4A87 #C8CC4A #4ACC8F
square
#4E4ACC #CC4A87 #C8CC4A #4ACC8F
split-complementary
#4E4ACC #CC8F4A #87CC4A
monochromatic
#252279 #3330A9 #4E4ACC #7D7AD9 #ABA9E7

Accessibility & contrast

On white

6.61
#4E4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ACC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ACC#FFFFFF#000000##FFFFFF
##4E4ACC1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e4acc;
/* rgb */ color: rgb(78, 74, 204);
/* oklch */ color: oklch(49.4% 0.195 277.9);
Tailwind
colors: {
  custom: {
    50: '#8d7ddd',
    500: '#4e4acc',
    950: '#000000',
  },
}
SCSS
$custom: #4e4acc;
$custom-light: #8d7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4acc",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 241.846,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.19477,
    "h": 277.9
  },
  "luminance": 0.10877
}

Semantic roles & 50–950 ramp

primary
#4E4ACC
secondary
#D3D49D
accent
#DF48DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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