#4E5D97#4E5D97

#4E5D97 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.3% C 0.095 H 271.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4E5D97
RGBrgb(78, 93, 151)
HSLhsl(228, 32%, 45%)
HSVhsv(228, 48%, 59%)
CMYKcmyk(48.3%, 38.4%, 0%, 40.8%)
CIE-LABlab(40.71, 10.79, -33.61)
CIE-LCHlch(40.71, 35.30, 287.81°)
OKLaboklab(49.27% 0.0026 -0.0948)
OKLCHoklch(49.27% 0.095 271.6)
XYZxyz(12.6404, 11.6820, 30.8610)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5D97 #97884E
analogous
#4E8297 #4E5D97 #634E97
triadic
#4E5D97 #974E5D #5D974E
tetradic
#4E5D97 #974E82 #97884E #4E9763
square
#4E5D97 #974E82 #97884E #4E9763
split-complementary
#4E5D97 #97634E #82974E
monochromatic
#242B46 #39446F #4E5D97 #6E7CB4 #96A1C9

Accessibility & contrast

On white

6.29
#4E5D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4E5D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5D97
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5D97#FFFFFF#000000##FFFFFF
##4E5D971.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476399
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#326973
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5d97;
/* rgb */ color: rgb(78, 93, 151);
/* oklch */ color: oklch(49.3% 0.095 271.6);
Tailwind
colors: {
  custom: {
    50: '#848ab6',
    500: '#4e5d97',
    950: '#000000',
  },
}
SCSS
$custom: #4e5d97;
$custom-light: #848ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5d97",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 227.671,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49274,
    "c": 0.09483,
    "h": 271.6
  },
  "luminance": 0.11683
}

Semantic roles & 50–950 ramp

primary
#4E5D97
secondary
#B6AD8B
accent
#B360C8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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