#4E52AC#4E52AC

#4E52AC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.141 H 277.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4E52AC
RGBrgb(78, 82, 172)
HSLhsl(237, 38%, 49%)
HSVhsv(237, 55%, 67%)
CMYKcmyk(54.7%, 52.3%, 0%, 32.5%)
CIE-LABlab(38.95, 24.67, -48.92)
CIE-LCHlch(38.95, 54.79, 296.76°)
OKLaboklab(48.34% 0.0192 -0.1398)
OKLCHoklch(48.34% 0.141 277.8)
XYZxyz(13.6032, 10.6320, 40.3571)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52AC #ACA84E
analogous
#4E81AC #4E52AC #794EAC
triadic
#4E52AC #AC4E52 #52AC4E
tetradic
#4E52AC #AC4E81 #ACA84E #4EAC79
square
#4E52AC #AC4E81 #ACA84E #4EAC79
split-complementary
#4E52AC #AC794E #81AC4E
monochromatic
#282A58 #3B3E82 #4E52AC #7679C1 #A0A3D4

Accessibility & contrast

On white

6.72
#4E52AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E52AC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52AC#FFFFFF#000000##FFFFFF
##4E52AC1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#1358AA
Tritanopia (blue-blind)
#216677
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e52ac;
/* rgb */ color: rgb(78, 82, 172);
/* oklch */ color: oklch(48.3% 0.141 277.8);
Tailwind
colors: {
  custom: {
    50: '#8782c5',
    500: '#4e52ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e52ac;
$custom-light: #8782c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52ac",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 237.447,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48343,
    "c": 0.14107,
    "h": 277.8
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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