#4E5D8A#4E5D8A

#4E5D8A is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.6% C 0.075 H 269.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4E5D8A
RGBrgb(78, 93, 138)
HSLhsl(225, 28%, 42%)
HSVhsv(225, 43%, 54%)
CMYKcmyk(43.5%, 32.6%, 0%, 45.9%)
CIE-LABlab(40.05, 6.71, -26.80)
CIE-LCHlch(40.05, 27.63, 284.05°)
OKLaboklab(48.55% -0.0008 -0.075)
OKLCHoklch(48.55% 0.075 269.4)
XYZxyz(11.6423, 11.2828, 25.6042)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5D8A #8A7B4E
analogous
#4E7B8A #4E5D8A #5D4E8A
triadic
#4E5D8A #8A4E5D #5D8A4E
tetradic
#4E5D8A #8A4E7B #8A7B4E #4E8A5D
square
#4E5D8A #8A4E7B #8A7B4E #4E8A5D
split-complementary
#4E5D8A #8A5D4E #7B8A4E
monochromatic
#22283C #384363 #4E5D8A #6A7AAB #919DC1

Accessibility & contrast

On white

6.45
#4E5D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4E5D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5D8A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5D8A#FFFFFF#000000##FFFFFF
##4E5D8A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#3A666D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e5d8a;
/* rgb */ color: rgb(78, 93, 138);
/* oklch */ color: oklch(48.6% 0.075 269.4);
Tailwind
colors: {
  custom: {
    50: '#828aac',
    500: '#4e5d8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e5d8a;
$custom-light: #828aac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5d8a",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 225,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.07504,
    "h": 269.4
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#4E5D8A
secondary
#AEA486
accent
#AC64C4
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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