#4E5AAD#4E5AAD

#4E5AAD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.132 H 274.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4E5AAD
RGBrgb(78, 90, 173)
HSLhsl(232, 38%, 49%)
HSVhsv(232, 55%, 68%)
CMYKcmyk(54.9%, 48%, 0%, 32.2%)
CIE-LABlab(41.13, 19.90, -46.01)
CIE-LCHlch(41.13, 50.13, 293.39°)
OKLaboklab(50.01% 0.0102 -0.1311)
OKLCHoklch(50.01% 0.132 274.5)
XYZxyz(14.3384, 11.9482, 41.0777)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AAD #ADA14E
analogous
#4E8AAD #4E5AAD #724EAD
triadic
#4E5AAD #AD4E5A #5AAD4E
tetradic
#4E5AAD #AD4E8A #ADA14E #4EAD72
square
#4E5AAD #AD4E8A #ADA14E #4EAD72
split-complementary
#4E5AAD #AD724E #8AAD4E
monochromatic
#282E59 #3B4483 #4E5AAD #7780C2 #A1A7D5

Accessibility & contrast

On white

6.20
#4E5AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4E5AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AAD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AAD#FFFFFF#000000##FFFFFF
##4E5AAD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365B0
Deuteranopia (green-blind)
#275DAB
Tritanopia (blue-blind)
#1E6C7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5aad;
/* rgb */ color: rgb(78, 90, 173);
/* oklch */ color: oklch(50.0% 0.132 274.5);
Tailwind
colors: {
  custom: {
    50: '#8788c6',
    500: '#4e5aad',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aad;
$custom-light: #8788c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aad",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 173
  },
  "hsl": {
    "h": 232.421,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.13153,
    "h": 274.5
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#4E5AAD
secondary
#C2BC95
accent
#BF5ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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