#4E5894#4E5894

#4E5894 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.0% C 0.097 H 275.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4E5894
RGBrgb(78, 88, 148)
HSLhsl(231, 31%, 44%)
HSVhsv(231, 47%, 58%)
CMYKcmyk(47.3%, 40.5%, 0%, 42%)
CIE-LABlab(39.13, 13.02, -34.29)
CIE-LCHlch(39.13, 36.68, 290.79°)
OKLaboklab(48.01% 0.0084 -0.0968)
OKLCHoklch(48.01% 0.097 275)
XYZxyz(11.9753, 10.7366, 29.4526)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5894 #948A4E
analogous
#4E7B94 #4E5894 #674E94
triadic
#4E5894 #944E58 #58944E
tetradic
#4E5894 #944E7B #948A4E #4E9467
square
#4E5894 #944E7B #948A4E #4E9467
split-complementary
#4E5894 #94674E #7B944E
monochromatic
#242844 #39406C #4E5894 #6D77B2 #959CC7

Accessibility & contrast

On white

6.67
#4E5894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E5894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5894
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5894#FFFFFF#000000##FFFFFF
##4E58941.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F96
Deuteranopia (green-blind)
#3C5993
Tritanopia (blue-blind)
#35646F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e5894;
/* rgb */ color: rgb(78, 88, 148);
/* oklch */ color: oklch(48.0% 0.097 275.0);
Tailwind
colors: {
  custom: {
    50: '#8387b4',
    500: '#4e5894',
    950: '#000000',
  },
}
SCSS
$custom: #4e5894;
$custom-light: #8387b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5894",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 231.429,
    "s": 30.973,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48012,
    "c": 0.09718,
    "h": 275
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#4E5894
secondary
#B4AE8A
accent
#B961C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5894

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

Preview Lab → · Contrast checker → · Palette generator →

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