#4E5B95#4E5B95

#4E5B95 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.7% C 0.095 H 272.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4E5B95
RGBrgb(78, 91, 149)
HSLhsl(229, 31%, 45%)
HSVhsv(229, 48%, 58%)
CMYKcmyk(47.7%, 38.9%, 0%, 41.6%)
CIE-LABlab(40.03, 11.42, -33.47)
CIE-LCHlch(40.03, 35.36, 288.85°)
OKLaboklab(48.72% 0.0047 -0.0944)
OKLCHoklch(48.72% 0.095 272.9)
XYZxyz(12.3061, 11.2711, 29.9550)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5B95 #95884E
analogous
#4E7F95 #4E5B95 #654E95
triadic
#4E5B95 #954E5B #5B954E
tetradic
#4E5B95 #954E7F #95884E #4E9565
square
#4E5B95 #954E7F #95884E #4E9565
split-complementary
#4E5B95 #95654E #7F954E
monochromatic
#242A45 #39426D #4E5B95 #6D7AB3 #969FC8

Accessibility & contrast

On white

6.45
#4E5B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E5B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5B95
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5B95#FFFFFF#000000##FFFFFF
##4E5B951.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456197
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#346771
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e5b95;
/* rgb */ color: rgb(78, 91, 149);
/* oklch */ color: oklch(48.7% 0.095 272.9);
Tailwind
colors: {
  custom: {
    50: '#8389b4',
    500: '#4e5b95',
    950: '#000000',
  },
}
SCSS
$custom: #4e5b95;
$custom-light: #8389b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5b95",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 229.014,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48721,
    "c": 0.09452,
    "h": 272.9
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#4E5B95
secondary
#B4AD8A
accent
#B560C7
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5B95

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

Preview Lab → · Contrast checker → · Palette generator →

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