#4E5185#4E5185

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

Color values

HEX#4E5185
RGBrgb(78, 81, 133)
HSLhsl(237, 26%, 41%)
HSVhsv(237, 41%, 52%)
CMYKcmyk(41.4%, 39.1%, 0%, 47.8%)
CIE-LABlab(36.36, 12.81, -29.55)
CIE-LCHlch(36.36, 32.21, 293.44°)
OKLaboklab(45.63% 0.0146 -0.083)
OKLCHoklch(45.63% 0.084 280)
XYZxyz(10.3167, 9.1976, 23.4175)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5185 #85824E
analogous
#4E6D85 #4E5185 #674E85
triadic
#4E5185 #854E51 #51854E
tetradic
#4E5185 #854E6D #85824E #4E8567
square
#4E5185 #854E6D #85824E #4E8567
split-complementary
#4E5185 #85674E #6D854E
monochromatic
#212238 #373A5E #4E5185 #696CA7 #9092BE

Accessibility & contrast

On white

7.40
#4E5185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E5185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5185
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5185#FFFFFF#000000##FFFFFF
##4E51851.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5887
Deuteranopia (green-blind)
#3C5484
Tritanopia (blue-blind)
#3D5B64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5185;
/* rgb */ color: rgb(78, 81, 133);
/* oklch */ color: oklch(45.6% 0.084 280.0);
Tailwind
colors: {
  custom: {
    50: '#8281a9',
    500: '#4e5185',
    950: '#000000',
  },
}
SCSS
$custom: #4e5185;
$custom-light: #8281a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5185",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 133
  },
  "hsl": {
    "h": 236.727,
    "s": 26.066,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.08431,
    "h": 280
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#4E5185
secondary
#AAA884
accent
#BD65C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5185

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

Preview Lab → · Contrast checker → · Palette generator →

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