#4E52AE#4E52AE

#4E52AE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.144 H 277.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4E52AE
RGBrgb(78, 82, 174)
HSLhsl(238, 38%, 49%)
HSVhsv(238, 55%, 68%)
CMYKcmyk(55.2%, 52.9%, 0%, 31.8%)
CIE-LABlab(39.09, 25.33, -49.89)
CIE-LCHlch(39.09, 55.95, 296.92°)
OKLaboklab(48.49% 0.0193 -0.1426)
OKLCHoklch(48.49% 0.144 277.7)
XYZxyz(13.7967, 10.7094, 41.3763)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52AE #AEAA4E
analogous
#4E82AE #4E52AE #7A4EAE
triadic
#4E52AE #AE4E52 #52AE4E
tetradic
#4E52AE #AE4E82 #AEAA4E #4EAE7A
square
#4E52AE #AE4E82 #AEAA4E #4EAE7A
split-complementary
#4E52AE #AE7A4E #82AE4E
monochromatic
#282A59 #3B3E84 #4E52AE #777AC2 #A1A4D5

Accessibility & contrast

On white

6.68
#4E52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4E52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52AE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52AE#FFFFFF#000000##FFFFFF
##4E52AE1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#0D58AC
Tritanopia (blue-blind)
#1F6778
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e52ae;
/* rgb */ color: rgb(78, 82, 174);
/* oklch */ color: oklch(48.5% 0.144 277.7);
Tailwind
colors: {
  custom: {
    50: '#8782c7',
    500: '#4e52ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e52ae;
$custom-light: #8782c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52ae",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 237.5,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.14391,
    "h": 277.7
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#4E52AE
secondary
#C2C096
accent
#C95ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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