#4E5995#4E5995

#4E5995 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.3% C 0.097 H 274.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4E5995
RGBrgb(78, 89, 149)
HSLhsl(231, 31%, 45%)
HSVhsv(231, 48%, 58%)
CMYKcmyk(47.7%, 40.3%, 0%, 41.6%)
CIE-LABlab(39.47, 12.70, -34.36)
CIE-LCHlch(39.47, 36.63, 290.28°)
OKLaboklab(48.29% 0.0074 -0.097)
OKLCHoklch(48.29% 0.097 274.3)
XYZxyz(12.1374, 10.9337, 29.8988)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5995 #958A4E
analogous
#4E7D95 #4E5995 #674E95
triadic
#4E5995 #954E59 #59954E
tetradic
#4E5995 #954E7D #958A4E #4E9567
square
#4E5995 #954E7D #958A4E #4E9567
split-complementary
#4E5995 #95674E #7D954E
monochromatic
#242945 #39416D #4E5995 #6D78B3 #969DC8

Accessibility & contrast

On white

6.59
#4E5995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4E5995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5995
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5995#FFFFFF#000000##FFFFFF
##4E59951.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426097
Deuteranopia (green-blind)
#3C5A94
Tritanopia (blue-blind)
#346570
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5995;
/* rgb */ color: rgb(78, 89, 149);
/* oklch */ color: oklch(48.3% 0.097 274.3);
Tailwind
colors: {
  custom: {
    50: '#8487b4',
    500: '#4e5995',
    950: '#000000',
  },
}
SCSS
$custom: #4e5995;
$custom-light: #8487b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5995",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 230.704,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.09729,
    "h": 274.3
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#4E5995
secondary
#B4AE8A
accent
#B760C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5995

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

Preview Lab → · Contrast checker → · Palette generator →

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