#4E5C99#4E5C99

#4E5C99 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.2% C 0.099 H 272.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4E5C99
RGBrgb(78, 92, 153)
HSLhsl(229, 32%, 45%)
HSVhsv(229, 49%, 60%)
CMYKcmyk(49%, 39.9%, 0%, 40%)
CIE-LABlab(40.53, 12.07, -35.08)
CIE-LCHlch(40.53, 37.10, 288.99°)
OKLaboklab(49.17% 0.0043 -0.0991)
OKLCHoklch(49.17% 0.099 272.5)
XYZxyz(12.7170, 11.5731, 31.6946)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C99 #998B4E
analogous
#4E8199 #4E5C99 #654E99
triadic
#4E5C99 #994E5C #5C994E
tetradic
#4E5C99 #994E81 #998B4E #4E9965
square
#4E5C99 #994E81 #998B4E #4E9965
split-complementary
#4E5C99 #99654E #81994E
monochromatic
#252B48 #394470 #4E5C99 #6F7CB5 #97A1CA

Accessibility & contrast

On white

6.34
#4E5C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E5C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5C99
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C99#FFFFFF#000000##FFFFFF
##4E5C991.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639B
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#316973
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5c99;
/* rgb */ color: rgb(78, 92, 153);
/* oklch */ color: oklch(49.2% 0.099 272.5);
Tailwind
colors: {
  custom: {
    50: '#8489b7',
    500: '#4e5c99',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c99;
$custom-light: #8489b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c99",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 153
  },
  "hsl": {
    "h": 228.8,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.09919,
    "h": 272.5
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#4E5C99
secondary
#B7AF8C
accent
#B55FC9
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5C99

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

Preview Lab → · Contrast checker → · Palette generator →

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