#4E5784#4E5784

#4E5784 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.9% C 0.074 H 274.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4E5784
RGBrgb(78, 87, 132)
HSLhsl(230, 26%, 41%)
HSVhsv(230, 41%, 52%)
CMYKcmyk(40.9%, 34.1%, 0%, 48.2%)
CIE-LABlab(38.02, 8.67, -26.33)
CIE-LCHlch(38.02, 27.72, 288.22°)
OKLaboklab(46.89% 0.0059 -0.0737)
OKLCHoklch(46.89% 0.074 274.6)
XYZxyz(10.7137, 10.1016, 23.2106)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5784 #847B4E
analogous
#4E7284 #4E5784 #604E84
triadic
#4E5784 #844E57 #57844E
tetradic
#4E5784 #844E72 #847B4E #4E8460
square
#4E5784 #844E72 #847B4E #4E8460
split-complementary
#4E5784 #84604E #72844E
monochromatic
#212437 #373E5E #4E5784 #6973A6 #8F97BD

Accessibility & contrast

On white

6.95
#4E5784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4E5784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5784
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5784#FFFFFF#000000##FFFFFF
##4E57841.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485C86
Deuteranopia (green-blind)
#445783
Tritanopia (blue-blind)
#3D6067
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5784;
/* rgb */ color: rgb(78, 87, 132);
/* oklch */ color: oklch(46.9% 0.074 274.6);
Tailwind
colors: {
  custom: {
    50: '#8286a8',
    500: '#4e5784',
    950: '#000000',
  },
}
SCSS
$custom: #4e5784;
$custom-light: #8286a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5784",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 132
  },
  "hsl": {
    "h": 230,
    "s": 25.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46888,
    "c": 0.07392,
    "h": 274.6
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#4E5784
secondary
#AAA384
accent
#B366C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5784

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

Preview Lab → · Contrast checker → · Palette generator →

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