#4E5289#4E5289

#4E5289 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.1% C 0.089 H 279.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4E5289
RGBrgb(78, 82, 137)
HSLhsl(236, 27%, 42%)
HSVhsv(236, 43%, 54%)
CMYKcmyk(43.1%, 40.1%, 0%, 46.3%)
CIE-LABlab(36.86, 13.40, -31.22)
CIE-LCHlch(36.86, 33.97, 293.23°)
OKLaboklab(46.07% 0.0141 -0.0879)
OKLCHoklch(46.07% 0.089 279.1)
XYZxyz(10.6732, 9.4600, 24.9256)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5289 #89854E
analogous
#4E7089 #4E5289 #684E89
triadic
#4E5289 #894E52 #52894E
tetradic
#4E5289 #894E70 #89854E #4E8968
square
#4E5289 #894E70 #89854E #4E8968
split-complementary
#4E5289 #89684E #70894E
monochromatic
#22233B #383B62 #4E5289 #6A6EAA #9194C0

Accessibility & contrast

On white

7.26
#4E5289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E5289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5289
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5289#FFFFFF#000000##FFFFFF
##4E52891.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598B
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#3B5D67
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e5289;
/* rgb */ color: rgb(78, 82, 137);
/* oklch */ color: oklch(46.1% 0.089 279.1);
Tailwind
colors: {
  custom: {
    50: '#8282ab',
    500: '#4e5289',
    950: '#000000',
  },
}
SCSS
$custom: #4e5289;
$custom-light: #8282ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5289",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 137
  },
  "hsl": {
    "h": 235.932,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46073,
    "c": 0.08901,
    "h": 279.1
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#4E5289
secondary
#ADAA86
accent
#BD64C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5289

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

Preview Lab → · Contrast checker → · Palette generator →

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