#4E5D96#4E5D96

#4E5D96 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.2% C 0.093 H 271.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4E5D96
RGBrgb(78, 93, 150)
HSLhsl(228, 32%, 45%)
HSVhsv(228, 48%, 59%)
CMYKcmyk(48%, 38%, 0%, 41.2%)
CIE-LABlab(40.65, 10.47, -33.09)
CIE-LCHlch(40.65, 34.71, 287.57°)
OKLaboklab(49.22% 0.0024 -0.0933)
OKLCHoklch(49.22% 0.093 271.5)
XYZxyz(12.5595, 11.6497, 30.4351)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5D96 #96874E
analogous
#4E8196 #4E5D96 #634E96
triadic
#4E5D96 #964E5D #5D964E
tetradic
#4E5D96 #964E81 #96874E #4E9663
square
#4E5D96 #964E81 #96874E #4E9663
split-complementary
#4E5D96 #96634E #81964E
monochromatic
#242B45 #39446E #4E5D96 #6E7CB3 #96A1C8

Accessibility & contrast

On white

6.31
#4E5D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E5D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5D96
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5D96#FFFFFF#000000##FFFFFF
##4E5D961.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486398
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#336972
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5d96;
/* rgb */ color: rgb(78, 93, 150);
/* oklch */ color: oklch(49.2% 0.093 271.5);
Tailwind
colors: {
  custom: {
    50: '#848ab5',
    500: '#4e5d96',
    950: '#000000',
  },
}
SCSS
$custom: #4e5d96;
$custom-light: #848ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5d96",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 150
  },
  "hsl": {
    "h": 227.5,
    "s": 31.579,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.09331,
    "h": 271.5
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#4E5D96
secondary
#B5AC8B
accent
#B260C8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5D96

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

Preview Lab → · Contrast checker → · Palette generator →

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