#4E5186#4E5186

#4E5186 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.7% C 0.086 H 280.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4E5186
RGBrgb(78, 81, 134)
HSLhsl(237, 26%, 42%)
HSVhsv(237, 42%, 53%)
CMYKcmyk(41.8%, 39.6%, 0%, 47.5%)
CIE-LABlab(36.41, 13.12, -30.08)
CIE-LCHlch(36.41, 32.81, 293.56°)
OKLaboklab(45.68% 0.0148 -0.0846)
OKLCHoklch(45.68% 0.086 280)
XYZxyz(10.3861, 9.2254, 23.7831)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5186 #86834E
analogous
#4E6D86 #4E5186 #674E86
triadic
#4E5186 #864E51 #51864E
tetradic
#4E5186 #864E6D #86834E #4E8667
square
#4E5186 #864E6D #86834E #4E8667
split-complementary
#4E5186 #86674E #6D864E
monochromatic
#212239 #373A5F #4E5186 #696DA8 #9092BE

Accessibility & contrast

On white

7.38
#4E5186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4E5186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5186
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5186#FFFFFF#000000##FFFFFF
##4E51861.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5888
Deuteranopia (green-blind)
#3B5485
Tritanopia (blue-blind)
#3D5B65
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5186;
/* rgb */ color: rgb(78, 81, 134);
/* oklch */ color: oklch(45.7% 0.086 280.0);
Tailwind
colors: {
  custom: {
    50: '#8281a9',
    500: '#4e5186',
    950: '#000000',
  },
}
SCSS
$custom: #4e5186;
$custom-light: #8281a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5186",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 236.786,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45683,
    "c": 0.08586,
    "h": 280
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#4E5186
secondary
#ABA985
accent
#BE65C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5186

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

Preview Lab → · Contrast checker → · Palette generator →

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