#4E5287#4E5287

#4E5287 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.0% C 0.086 H 279.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4E5287
RGBrgb(78, 82, 135)
HSLhsl(236, 27%, 42%)
HSVhsv(236, 42%, 53%)
CMYKcmyk(42.2%, 39.3%, 0%, 47.1%)
CIE-LABlab(36.75, 12.78, -30.16)
CIE-LCHlch(36.75, 32.76, 292.97°)
OKLaboklab(45.96% 0.0137 -0.0848)
OKLCHoklch(45.96% 0.086 279.2)
XYZxyz(10.5311, 9.4031, 24.1771)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5287 #87834E
analogous
#4E6F87 #4E5287 #674E87
triadic
#4E5287 #874E52 #52874E
tetradic
#4E5287 #874E6F #87834E #4E8767
square
#4E5287 #874E6F #87834E #4E8767
split-complementary
#4E5287 #87674E #6F874E
monochromatic
#212339 #383A60 #4E5287 #6A6EA9 #9094BF

Accessibility & contrast

On white

7.29
#4E5287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E5287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5287
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5287#FFFFFF#000000##FFFFFF
##4E52871.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#3C5486
Tritanopia (blue-blind)
#3C5D66
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5287;
/* rgb */ color: rgb(78, 82, 135);
/* oklch */ color: oklch(46.0% 0.086 279.2);
Tailwind
colors: {
  custom: {
    50: '#8282aa',
    500: '#4e5287',
    950: '#000000',
  },
}
SCSS
$custom: #4e5287;
$custom-light: #8282aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5287",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 235.789,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45957,
    "c": 0.0859,
    "h": 279.2
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#4E5287
secondary
#ACA985
accent
#BC65C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5287

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

Preview Lab → · Contrast checker → · Palette generator →

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