#4E5785#4E5785

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

Color values

HEX#4E5785
RGBrgb(78, 87, 133)
HSLhsl(230, 26%, 41%)
HSVhsv(230, 41%, 52%)
CMYKcmyk(41.4%, 34.6%, 0%, 47.8%)
CIE-LABlab(38.07, 8.97, -26.86)
CIE-LCHlch(38.07, 28.32, 288.47°)
OKLaboklab(46.94% 0.0062 -0.0752)
OKLCHoklch(46.94% 0.075 274.7)
XYZxyz(10.7825, 10.1291, 23.5727)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5785 #857C4E
analogous
#4E7385 #4E5785 #614E85
triadic
#4E5785 #854E57 #57854E
tetradic
#4E5785 #854E73 #857C4E #4E8561
square
#4E5785 #854E73 #857C4E #4E8561
split-complementary
#4E5785 #85614E #73854E
monochromatic
#212538 #373E5E #4E5785 #6973A7 #9097BE

Accessibility & contrast

On white

6.94
#4E5785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E5785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5785
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5785#FFFFFF#000000##FFFFFF
##4E57851.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C87
Deuteranopia (green-blind)
#435884
Tritanopia (blue-blind)
#3D6068
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5785;
/* rgb */ color: rgb(78, 87, 133);
/* oklch */ color: oklch(46.9% 0.075 274.7);
Tailwind
colors: {
  custom: {
    50: '#8286a8',
    500: '#4e5785',
    950: '#000000',
  },
}
SCSS
$custom: #4e5785;
$custom-light: #8286a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5785",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 133
  },
  "hsl": {
    "h": 230.182,
    "s": 26.066,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.07547,
    "h": 274.7
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#4E5785
secondary
#AAA484
accent
#B365C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5785

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

Preview Lab → · Contrast checker → · Palette generator →

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