#4E5381#4E5381

#4E5381 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.8% C 0.075 H 278.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4E5381
RGBrgb(78, 83, 129)
HSLhsl(234, 25%, 41%)
HSVhsv(234, 40%, 51%)
CMYKcmyk(39.5%, 35.7%, 0%, 49.4%)
CIE-LABlab(36.73, 10.31, -26.52)
CIE-LCHlch(36.73, 28.46, 291.24°)
OKLaboklab(45.84% 0.0108 -0.0742)
OKLCHoklch(45.84% 0.075 278.3)
XYZxyz(10.1964, 9.3908, 22.0400)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5381 #817C4E
analogous
#4E6C81 #4E5381 #624E81
triadic
#4E5381 #814E53 #53814E
tetradic
#4E5381 #814E6C #817C4E #4E8162
square
#4E5381 #814E6C #817C4E #4E8162
split-complementary
#4E5381 #81624E #6C814E
monochromatic
#202235 #373A5B #4E5381 #686EA4 #8E93BB

Accessibility & contrast

On white

7.30
#4E5381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E5381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5381
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5381#FFFFFF#000000##FFFFFF
##4E53811.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445883
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#3F5C64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5381;
/* rgb */ color: rgb(78, 83, 129);
/* oklch */ color: oklch(45.8% 0.075 278.3);
Tailwind
colors: {
  custom: {
    50: '#8283a6',
    500: '#4e5381',
    950: '#000000',
  },
}
SCSS
$custom: #4e5381;
$custom-light: #8283a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5381",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 129
  },
  "hsl": {
    "h": 234.118,
    "s": 24.638,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.07503,
    "h": 278.3
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#4E5381
secondary
#A8A483
accent
#B867C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E5381

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

Preview Lab → · Contrast checker → · Palette generator →

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