#4E5D9F#4E5D9F

#4E5D9F is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.7% C 0.107 H 272.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4E5D9F
RGBrgb(78, 93, 159)
HSLhsl(229, 34%, 46%)
HSVhsv(229, 51%, 62%)
CMYKcmyk(50.9%, 41.5%, 0%, 37.6%)
CIE-LABlab(41.14, 13.38, -37.70)
CIE-LCHlch(41.14, 40.01, 289.54°)
OKLaboklab(49.75% 0.0043 -0.1067)
OKLCHoklch(49.75% 0.107 272.3)
XYZxyz(13.3122, 11.9508, 34.3994)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5D9F #9F904E
analogous
#4E869F #4E5D9F #684E9F
triadic
#4E5D9F #9F4E5D #5D9F4E
tetradic
#4E5D9F #9F4E86 #9F904E #4E9F68
square
#4E5D9F #9F4E86 #9F904E #4E9F68
split-complementary
#4E5D9F #9F684E #869F4E
monochromatic
#262D4D #3A4576 #4E5D9F #717EB9 #9AA3CD

Accessibility & contrast

On white

6.19
#4E5D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5D9F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5D9F#FFFFFF#000000##FFFFFF
##4E5D9F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4365A2
Deuteranopia (green-blind)
#3B5E9E
Tritanopia (blue-blind)
#2C6B76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5d9f;
/* rgb */ color: rgb(78, 93, 159);
/* oklch */ color: oklch(49.7% 0.107 272.3);
Tailwind
colors: {
  custom: {
    50: '#858abc',
    500: '#4e5d9f',
    950: '#000000',
  },
}
SCSS
$custom: #4e5d9f;
$custom-light: #858abc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5d9f",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 159
  },
  "hsl": {
    "h": 228.889,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49746,
    "c": 0.10684,
    "h": 272.3
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

primary
#4E5D9F
secondary
#BAB28F
accent
#B65ECA
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E5D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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