#4E5B97#4E5B97

#4E5B97 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.8% C 0.098 H 273.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4E5B97
RGBrgb(78, 91, 151)
HSLhsl(229, 32%, 45%)
HSVhsv(229, 48%, 59%)
CMYKcmyk(48.3%, 39.7%, 0%, 40.8%)
CIE-LABlab(40.14, 12.06, -34.50)
CIE-LCHlch(40.14, 36.55, 289.27°)
OKLaboklab(48.84% 0.0052 -0.0974)
OKLCHoklch(48.84% 0.098 273)
XYZxyz(12.4671, 11.3355, 30.8032)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5B97 #978A4E
analogous
#4E8097 #4E5B97 #654E97
triadic
#4E5B97 #974E5B #5B974E
tetradic
#4E5B97 #974E80 #978A4E #4E9765
square
#4E5B97 #974E80 #978A4E #4E9765
split-complementary
#4E5B97 #97654E #80974E
monochromatic
#242A46 #39436F #4E5B97 #6E7BB4 #969FC9

Accessibility & contrast

On white

6.43
#4E5B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E5B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5B97
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5B97#FFFFFF#000000##FFFFFF
##4E5B971.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#326872
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e5b97;
/* rgb */ color: rgb(78, 91, 151);
/* oklch */ color: oklch(48.8% 0.098 273.0);
Tailwind
colors: {
  custom: {
    50: '#8489b6',
    500: '#4e5b97',
    950: '#000000',
  },
}
SCSS
$custom: #4e5b97;
$custom-light: #8489b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5b97",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 229.315,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.09755,
    "h": 273
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

primary
#4E5B97
secondary
#B6AE8B
accent
#B560C8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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