#4E5780#4E5780

#4E5780 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.7% C 0.068 H 274.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4E5780
RGBrgb(78, 87, 128)
HSLhsl(229, 24%, 40%)
HSVhsv(229, 39%, 50%)
CMYKcmyk(39.1%, 32%, 0%, 49.8%)
CIE-LABlab(37.83, 7.46, -24.18)
CIE-LCHlch(37.83, 25.31, 287.14°)
OKLaboklab(46.68% 0.0048 -0.0675)
OKLCHoklch(46.68% 0.068 274)
XYZxyz(10.4452, 9.9942, 21.7966)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5780 #80774E
analogous
#4E7080 #4E5780 #5E4E80
triadic
#4E5780 #804E57 #57804E
tetradic
#4E5780 #804E70 #80774E #4E805E
square
#4E5780 #804E70 #80774E #4E805E
split-complementary
#4E5780 #805E4E #70804E
monochromatic
#202334 #373D5A #4E5780 #6873A3 #8E96BA

Accessibility & contrast

On white

7.00
#4E5780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4E5780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5780
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5780#FFFFFF#000000##FFFFFF
##4E57801.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B82
Deuteranopia (green-blind)
#46577F
Tritanopia (blue-blind)
#3F5F66
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5780;
/* rgb */ color: rgb(78, 87, 128);
/* oklch */ color: oklch(46.7% 0.068 274.0);
Tailwind
colors: {
  custom: {
    50: '#8186a5',
    500: '#4e5780',
    950: '#000000',
  },
}
SCSS
$custom: #4e5780;
$custom-light: #8186a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5780",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 128
  },
  "hsl": {
    "h": 229.2,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46676,
    "c": 0.06765,
    "h": 274
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#4E5780
secondary
#A7A083
accent
#B167C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5780

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

Preview Lab → · Contrast checker → · Palette generator →

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