#4E5E99#4E5E99

#4E5E99 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.6% C 0.097 H 271.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4E5E99
RGBrgb(78, 94, 153)
HSLhsl(227, 32%, 45%)
HSVhsv(227, 49%, 60%)
CMYKcmyk(49%, 38.6%, 0%, 40%)
CIE-LABlab(41.10, 10.80, -34.19)
CIE-LCHlch(41.10, 35.85, 287.53°)
OKLaboklab(49.61% 0.0018 -0.0965)
OKLCHoklch(49.61% 0.097 271.1)
XYZxyz(12.8925, 11.9242, 31.7531)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5E99 #99894E
analogous
#4E8399 #4E5E99 #634E99
triadic
#4E5E99 #994E5E #5E994E
tetradic
#4E5E99 #994E83 #99894E #4E9963
square
#4E5E99 #994E83 #99894E #4E9963
split-complementary
#4E5E99 #99634E #83994E
monochromatic
#252C48 #394570 #4E5E99 #6F7EB5 #97A2CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5E99#FFFFFF#000000##FFFFFF
##4E5E991.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)
#48649B
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#306A74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5e99;
/* rgb */ color: rgb(78, 94, 153);
/* oklch */ color: oklch(49.6% 0.097 271.1);
Tailwind
colors: {
  custom: {
    50: '#848bb7',
    500: '#4e5e99',
    950: '#000000',
  },
}
SCSS
$custom: #4e5e99;
$custom-light: #848bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5e99",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 227.2,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.0965,
    "h": 271.1
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#4E5E99
secondary
#B7AE8C
accent
#B25FC9
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E5E99

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

Preview Lab → · Contrast checker → · Palette generator →

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