#4E3AC8#4E3AC8

#4E3AC8 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.6% C 0.208 H 281.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E3AC8
RGBrgb(78, 58, 200)
HSLhsl(248, 56%, 51%)
HSVhsv(248, 71%, 78%)
CMYKcmyk(61%, 71%, 0%, 21.6%)
CIE-LABlab(35.63, 48.14, -70.79)
CIE-LCHlch(35.63, 85.61, 304.22°)
OKLaboklab(46.59% 0.0398 -0.2041)
OKLCHoklch(46.59% 0.208 281)
XYZxyz(15.0770, 8.8149, 55.5393)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AC8 #B4C83A
analogous
#3A6DC8 #4E3AC8 #953AC8
triadic
#4E3AC8 #C84E3A #3AC84E
tetradic
#4E3AC8 #C83A6D #B4C83A #3AC895
square
#4E3AC8 #C83A6D #B4C83A #3AC895
split-complementary
#4E3AC8 #C8953A #6DC83A
monochromatic
#281E6A #3B2B9A #4E3AC8 #796AD5 #A49AE3

Accessibility & contrast

On white

7.60
#4E3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E3AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AC8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AC8#FFFFFF#000000##FFFFFF
##4E3AC81.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#004EC5
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e3ac8;
/* rgb */ color: rgb(78, 58, 200);
/* oklch */ color: oklch(46.6% 0.208 281.0);
Tailwind
colors: {
  custom: {
    50: '#8d72da',
    500: '#4e3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ac8;
$custom-light: #8d72da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ac8",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 248.451,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46588,
    "c": 0.20795,
    "h": 281
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#4E3AC8
secondary
#C6CE8F
accent
#E048CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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