#4E4AC2#4E4AC2

#4E4AC2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.6% C 0.182 H 278.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4E4AC2
RGBrgb(78, 74, 194)
HSLhsl(242, 50%, 53%)
HSVhsv(242, 62%, 76%)
CMYKcmyk(59.8%, 61.9%, 0%, 23.9%)
CIE-LABlab(38.57, 36.92, -62.47)
CIE-LCHlch(38.57, 72.57, 300.58°)
OKLaboklab(48.56% 0.0274 -0.1797)
OKLCHoklch(48.56% 0.182 278.7)
XYZxyz(15.3252, 10.4112, 52.2305)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AC2 #BEC24A
analogous
#4A82C2 #4E4AC2 #8A4AC2
triadic
#4E4AC2 #C24E4A #4AC24E
tetradic
#4E4AC2 #C24A82 #BEC24A #4AC28A
square
#4E4AC2 #C24A82 #BEC24A #4AC28A
split-complementary
#4E4AC2 #C28A4A #82C24A
monochromatic
#27256D #38349B #4E4AC2 #7B78D1 #A8A6E1

Accessibility & contrast

On white

6.81
#4E4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E4AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4AC2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AC2#FFFFFF#000000##FFFFFF
##4E4AC21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e4ac2;
/* rgb */ color: rgb(78, 74, 194);
/* oklch */ color: oklch(48.6% 0.182 278.7);
Tailwind
colors: {
  custom: {
    50: '#8b7dd5',
    500: '#4e4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ac2;
$custom-light: #8b7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ac2",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 242,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.18177,
    "h": 278.7
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

primary
#4E4AC2
secondary
#CCCE9A
accent
#D94FD5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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