#4E5897#4E5897

#4E5897 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.2% C 0.102 H 275.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4E5897
RGBrgb(78, 88, 151)
HSLhsl(232, 32%, 45%)
HSVhsv(232, 48%, 59%)
CMYKcmyk(48.3%, 41.7%, 0%, 40.8%)
CIE-LABlab(39.30, 13.98, -35.83)
CIE-LCHlch(39.30, 38.46, 291.31°)
OKLaboklab(48.19% 0.0091 -0.1013)
OKLCHoklch(48.19% 0.102 275.1)
XYZxyz(12.2158, 10.8328, 30.7194)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5897 #978D4E
analogous
#4E7C97 #4E5897 #694E97
triadic
#4E5897 #974E58 #58974E
tetradic
#4E5897 #974E7C #978D4E #4E9769
square
#4E5897 #974E7C #978D4E #4E9769
split-complementary
#4E5897 #97694E #7C974E
monochromatic
#242946 #39406F #4E5897 #6E78B4 #969DC9

Accessibility & contrast

On white

6.63
#4E5897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4E5897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5897
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5897#FFFFFF#000000##FFFFFF
##4E58971.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#395A96
Tritanopia (blue-blind)
#336570
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5897;
/* rgb */ color: rgb(78, 88, 151);
/* oklch */ color: oklch(48.2% 0.102 275.1);
Tailwind
colors: {
  custom: {
    50: '#8487b6',
    500: '#4e5897',
    950: '#000000',
  },
}
SCSS
$custom: #4e5897;
$custom-light: #8487b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5897",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 231.781,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48192,
    "c": 0.10172,
    "h": 275.1
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#4E5897
secondary
#B6B08B
accent
#BA60C8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5897

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

Preview Lab → · Contrast checker → · Palette generator →

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