#4E4AC6#4E4AC6

#4E4AC6 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.9% C 0.187 H 278.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4E4AC6
RGBrgb(78, 74, 198)
HSLhsl(242, 52%, 53%)
HSVhsv(242, 63%, 78%)
CMYKcmyk(60.6%, 62.6%, 0%, 22.4%)
CIE-LABlab(38.89, 38.23, -64.29)
CIE-LCHlch(38.89, 74.80, 300.74°)
OKLaboklab(48.89% 0.0272 -0.185)
OKLCHoklch(48.89% 0.187 278.4)
XYZxyz(15.7804, 10.5933, 54.6283)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4AC6 #C2C64A
analogous
#4A84C6 #4E4AC6 #8C4AC6
triadic
#4E4AC6 #C64E4A #4AC64E
tetradic
#4E4AC6 #C64A84 #C2C64A #4AC68C
square
#4E4AC6 #C64A84 #C2C64A #4AC68C
split-complementary
#4E4AC6 #C68C4A #84C64A
monochromatic
#262472 #3632A0 #4E4AC6 #7C79D5 #A9A7E3

Accessibility & contrast

On white

6.73
#4E4AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4E4AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4AC6
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4AC6#FFFFFF#000000##FFFFFF
##4E4AC61.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e4ac6;
/* rgb */ color: rgb(78, 74, 198);
/* oklch */ color: oklch(48.9% 0.187 278.4);
Tailwind
colors: {
  custom: {
    50: '#8c7dd8',
    500: '#4e4ac6',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ac6;
$custom-light: #8c7dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ac6",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 198
  },
  "hsl": {
    "h": 241.935,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48892,
    "c": 0.18701,
    "h": 278.4
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#4E4AC6
secondary
#CFD19B
accent
#DC4CD7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E4AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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