#4E5782#4E5782

#4E5782 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.8% C 0.071 H 274.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4E5782
RGBrgb(78, 87, 130)
HSLhsl(230, 25%, 41%)
HSVhsv(230, 40%, 51%)
CMYKcmyk(40%, 33.1%, 0%, 49%)
CIE-LABlab(37.93, 8.06, -25.26)
CIE-LCHlch(37.93, 26.51, 287.70°)
OKLaboklab(46.78% 0.0053 -0.0706)
OKLCHoklch(46.78% 0.071 274.3)
XYZxyz(10.5782, 10.0473, 22.4967)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5782 #82794E
analogous
#4E7182 #4E5782 #5F4E82
triadic
#4E5782 #824E57 #57824E
tetradic
#4E5782 #824E71 #82794E #4E825F
square
#4E5782 #824E71 #82794E #4E825F
split-complementary
#4E5782 #825F4E #71824E
monochromatic
#202435 #373D5C #4E5782 #6873A5 #8F97BC

Accessibility & contrast

On white

6.98
#4E5782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E5782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5782
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5782#FFFFFF#000000##FFFFFF
##4E57821.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B84
Deuteranopia (green-blind)
#455781
Tritanopia (blue-blind)
#3E5F66
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5782;
/* rgb */ color: rgb(78, 87, 130);
/* oklch */ color: oklch(46.8% 0.071 274.3);
Tailwind
colors: {
  custom: {
    50: '#8286a6',
    500: '#4e5782',
    950: '#000000',
  },
}
SCSS
$custom: #4e5782;
$custom-light: #8286a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5782",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 229.615,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46781,
    "c": 0.07078,
    "h": 274.3
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#4E5782
secondary
#A8A284
accent
#B266C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5782

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

Preview Lab → · Contrast checker → · Palette generator →

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