#4E5184#4E5184

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

Color values

HEX#4E5184
RGBrgb(78, 81, 132)
HSLhsl(237, 26%, 41%)
HSVhsv(237, 41%, 52%)
CMYKcmyk(40.9%, 38.6%, 0%, 48.2%)
CIE-LABlab(36.31, 12.51, -29.02)
CIE-LCHlch(36.31, 31.60, 293.31°)
OKLaboklab(45.57% 0.0144 -0.0815)
OKLCHoklch(45.57% 0.083 280)
XYZxyz(10.2480, 9.1701, 23.0554)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5184 #84814E
analogous
#4E6C84 #4E5184 #664E84
triadic
#4E5184 #844E51 #51844E
tetradic
#4E5184 #844E6C #84814E #4E8466
square
#4E5184 #844E6C #84814E #4E8466
split-complementary
#4E5184 #84664E #6C844E
monochromatic
#212237 #37395E #4E5184 #696CA6 #8F92BD

Accessibility & contrast

On white

7.41
#4E5184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E5184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5184
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5184#FFFFFF#000000##FFFFFF
##4E51841.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405786
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#3E5B64
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5184;
/* rgb */ color: rgb(78, 81, 132);
/* oklch */ color: oklch(45.6% 0.083 280.0);
Tailwind
colors: {
  custom: {
    50: '#8281a8',
    500: '#4e5184',
    950: '#000000',
  },
}
SCSS
$custom: #4e5184;
$custom-light: #8281a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5184",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 132
  },
  "hsl": {
    "h": 236.667,
    "s": 25.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45568,
    "c": 0.08274,
    "h": 280
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#4E5184
secondary
#AAA884
accent
#BD66C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E5184

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

Preview Lab → · Contrast checker → · Palette generator →

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