#4E5189#4E5189

#4E5189 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.9% C 0.091 H 279.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4E5189
RGBrgb(78, 81, 137)
HSLhsl(237, 27%, 42%)
HSVhsv(237, 43%, 54%)
CMYKcmyk(43.1%, 40.9%, 0%, 46.3%)
CIE-LABlab(36.57, 14.04, -31.66)
CIE-LCHlch(36.57, 34.63, 293.92°)
OKLaboklab(45.86% 0.0155 -0.0892)
OKLCHoklch(45.86% 0.091 279.9)
XYZxyz(10.5983, 9.3102, 24.9007)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5189 #89864E
analogous
#4E6F89 #4E5189 #694E89
triadic
#4E5189 #894E51 #51894E
tetradic
#4E5189 #894E6F #89864E #4E8969
square
#4E5189 #894E6F #89864E #4E8969
split-complementary
#4E5189 #89694E #6F894E
monochromatic
#22233B #383A62 #4E5189 #6A6DAA #9193C0

Accessibility & contrast

On white

7.34
#4E5189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E5189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5189
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5189#FFFFFF#000000##FFFFFF
##4E51891.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588B
Deuteranopia (green-blind)
#3A5488
Tritanopia (blue-blind)
#3C5C66
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5189;
/* rgb */ color: rgb(78, 81, 137);
/* oklch */ color: oklch(45.9% 0.091 279.9);
Tailwind
colors: {
  custom: {
    50: '#8281ac',
    500: '#4e5189',
    950: '#000000',
  },
}
SCSS
$custom: #4e5189;
$custom-light: #8281ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5189",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 137
  },
  "hsl": {
    "h": 236.949,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45858,
    "c": 0.09051,
    "h": 279.9
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#4E5189
secondary
#ADAB86
accent
#BF64C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5189

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

Preview Lab → · Contrast checker → · Palette generator →

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