#4E5795#4E5795

#4E5795 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.9% C 0.100 H 275.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4E5795
RGBrgb(78, 87, 149)
HSLhsl(232, 31%, 45%)
HSVhsv(232, 48%, 58%)
CMYKcmyk(47.7%, 41.6%, 0%, 41.6%)
CIE-LABlab(38.91, 13.97, -35.25)
CIE-LCHlch(38.91, 37.92, 291.63°)
OKLaboklab(47.86% 0.01 -0.0996)
OKLCHoklch(47.86% 0.1 275.7)
XYZxyz(11.9732, 10.6054, 29.8441)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5795 #958C4E
analogous
#4E7B95 #4E5795 #684E95
triadic
#4E5795 #954E57 #57954E
tetradic
#4E5795 #954E7B #958C4E #4E9568
square
#4E5795 #954E7B #958C4E #4E9568
split-complementary
#4E5795 #95684E #7B954E
monochromatic
#242845 #39406D #4E5795 #6D76B3 #969CC8

Accessibility & contrast

On white

6.73
#4E5795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4E5795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5795
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5795#FFFFFF#000000##FFFFFF
##4E57951.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F97
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#34646F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e5795;
/* rgb */ color: rgb(78, 87, 149);
/* oklch */ color: oklch(47.9% 0.100 275.7);
Tailwind
colors: {
  custom: {
    50: '#8486b4',
    500: '#4e5795',
    950: '#000000',
  },
}
SCSS
$custom: #4e5795;
$custom-light: #8486b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5795",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 232.394,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47857,
    "c": 0.10012,
    "h": 275.7
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#4E5795
secondary
#B4AF8A
accent
#BA60C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5795

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

Preview Lab → · Contrast checker → · Palette generator →

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