#4E4AC7#4E4AC7

#4E4AC7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.0% C 0.188 H 278.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4E4AC7
RGBrgb(78, 74, 199)
HSLhsl(242, 53%, 54%)
HSVhsv(242, 63%, 78%)
CMYKcmyk(60.8%, 62.8%, 0%, 22%)
CIE-LABlab(38.97, 38.55, -64.74)
CIE-LCHlch(38.97, 75.35, 300.77°)
OKLaboklab(48.98% 0.0271 -0.1863)
OKLCHoklch(48.98% 0.188 278.3)
XYZxyz(15.8962, 10.6396, 55.2377)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AC7 #C3C74A
analogous
#4A84C7 #4E4AC7 #8C4AC7
triadic
#4E4AC7 #C74E4A #4AC74E
tetradic
#4E4AC7 #C74A84 #C3C74A #4AC78C
square
#4E4AC7 #C74A84 #C3C74A #4AC78C
split-complementary
#4E4AC7 #C78C4A #84C74A
monochromatic
#262473 #3632A2 #4E4AC7 #7C79D5 #A9A7E4

Accessibility & contrast

On white

6.71
#4E4AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4E4AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4AC7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AC7#FFFFFF#000000##FFFFFF
##4E4AC71.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e4ac7;
/* rgb */ color: rgb(78, 74, 199);
/* oklch */ color: oklch(49.0% 0.188 278.3);
Tailwind
colors: {
  custom: {
    50: '#8c7dd9',
    500: '#4e4ac7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ac7;
$custom-light: #8c7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ac7",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 241.92,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.18831,
    "h": 278.3
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#4E4AC7
secondary
#CFD19C
accent
#DC4CD8
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E4AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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