#4E5885#4E5885

#4E5885 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.2% C 0.074 H 273.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4E5885
RGBrgb(78, 88, 133)
HSLhsl(229, 26%, 41%)
HSVhsv(229, 41%, 52%)
CMYKcmyk(41.4%, 33.8%, 0%, 47.8%)
CIE-LABlab(38.36, 8.34, -26.41)
CIE-LCHlch(38.36, 27.70, 287.52°)
OKLaboklab(47.17% 0.0048 -0.0739)
OKLCHoklch(47.17% 0.074 273.7)
XYZxyz(10.8640, 10.2921, 23.5999)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5885 #857B4E
analogous
#4E7485 #4E5885 #604E85
triadic
#4E5885 #854E58 #58854E
tetradic
#4E5885 #854E74 #857B4E #4E8560
square
#4E5885 #854E74 #857B4E #4E8560
split-complementary
#4E5885 #85604E #74854E
monochromatic
#212538 #373E5E #4E5885 #6974A7 #9098BE

Accessibility & contrast

On white

6.87
#4E5885 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E5885 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5885
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5885#FFFFFF#000000##FFFFFF
##4E58851.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495D87
Deuteranopia (green-blind)
#445884
Tritanopia (blue-blind)
#3D6168
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5885;
/* rgb */ color: rgb(78, 88, 133);
/* oklch */ color: oklch(47.2% 0.074 273.7);
Tailwind
colors: {
  custom: {
    50: '#8287a8',
    500: '#4e5885',
    950: '#000000',
  },
}
SCSS
$custom: #4e5885;
$custom-light: #8287a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5885",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 133
  },
  "hsl": {
    "h": 229.091,
    "s": 26.066,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47165,
    "c": 0.07406,
    "h": 273.7
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#4E5885
secondary
#AAA384
accent
#B265C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5885

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

Preview Lab → · Contrast checker → · Palette generator →

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