#4E5D99#4E5D99

#4E5D99 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.4% C 0.098 H 271.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4E5D99
RGBrgb(78, 93, 153)
HSLhsl(228, 32%, 45%)
HSVhsv(228, 49%, 60%)
CMYKcmyk(49%, 39.2%, 0%, 40%)
CIE-LABlab(40.81, 11.44, -34.64)
CIE-LCHlch(40.81, 36.48, 288.27°)
OKLaboklab(49.39% 0.0031 -0.0978)
OKLCHoklch(49.39% 0.098 271.8)
XYZxyz(12.8042, 11.7475, 31.7236)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5D99 #998A4E
analogous
#4E8299 #4E5D99 #644E99
triadic
#4E5D99 #994E5D #5D994E
tetradic
#4E5D99 #994E82 #998A4E #4E9964
square
#4E5D99 #994E82 #998A4E #4E9964
split-complementary
#4E5D99 #99644E #82994E
monochromatic
#252C48 #394470 #4E5D99 #6F7DB5 #97A1CA

Accessibility & contrast

On white

6.27
#4E5D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E5D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5D99
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5D99#FFFFFF#000000##FFFFFF
##4E5D991.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46649B
Deuteranopia (green-blind)
#3F5D98
Tritanopia (blue-blind)
#316A73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5d99;
/* rgb */ color: rgb(78, 93, 153);
/* oklch */ color: oklch(49.4% 0.098 271.8);
Tailwind
colors: {
  custom: {
    50: '#848ab7',
    500: '#4e5d99',
    950: '#000000',
  },
}
SCSS
$custom: #4e5d99;
$custom-light: #848ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5d99",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 228,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4939,
    "c": 0.09784,
    "h": 271.8
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#4E5D99
secondary
#B7AE8C
accent
#B45FC9
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5D99

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

Preview Lab → · Contrast checker → · Palette generator →

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