#4E52AD#4E52AD

#4E52AD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.142 H 277.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4E52AD
RGBrgb(78, 82, 173)
HSLhsl(237, 38%, 49%)
HSVhsv(237, 55%, 68%)
CMYKcmyk(54.9%, 52.6%, 0%, 32.2%)
CIE-LABlab(39.02, 25.00, -49.40)
CIE-LCHlch(39.02, 55.37, 296.84°)
OKLaboklab(48.41% 0.0192 -0.1412)
OKLCHoklch(48.41% 0.142 277.8)
XYZxyz(13.6996, 10.6705, 40.8648)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52AD #ADA94E
analogous
#4E82AD #4E52AD #7A4EAD
triadic
#4E52AD #AD4E52 #52AD4E
tetradic
#4E52AD #AD4E82 #ADA94E #4EAD7A
square
#4E52AD #AD4E82 #ADA94E #4EAD7A
split-complementary
#4E52AD #AD7A4E #82AD4E
monochromatic
#282A59 #3B3E83 #4E52AD #777AC2 #A1A3D5

Accessibility & contrast

On white

6.70
#4E52AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E52AD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52AD#FFFFFF#000000##FFFFFF
##4E52AD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B0
Deuteranopia (green-blind)
#1058AB
Tritanopia (blue-blind)
#206677
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e52ad;
/* rgb */ color: rgb(78, 82, 173);
/* oklch */ color: oklch(48.4% 0.142 277.8);
Tailwind
colors: {
  custom: {
    50: '#8782c6',
    500: '#4e52ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e52ad;
$custom-light: #8782c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52ad",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 237.474,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48414,
    "c": 0.14249,
    "h": 277.8
  },
  "luminance": 0.10671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E52AD

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

Preview Lab → · Contrast checker → · Palette generator →

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