#4E5095#4E5095

#4E5095 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.4% C 0.110 H 279.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4E5095
RGBrgb(78, 80, 149)
HSLhsl(238, 31%, 45%)
HSVhsv(238, 48%, 58%)
CMYKcmyk(47.7%, 46.3%, 0%, 41.6%)
CIE-LABlab(36.98, 18.47, -38.31)
CIE-LCHlch(36.98, 42.53, 295.73°)
OKLaboklab(46.39% 0.019 -0.1086)
OKLCHoklch(46.39% 0.11 279.9)
XYZxyz(11.4337, 9.5264, 29.6643)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5095 #95934E
analogous
#4E7495 #4E5095 #704E95
triadic
#4E5095 #954E50 #50954E
tetradic
#4E5095 #954E74 #95934E #4E9570
square
#4E5095 #954E74 #95934E #4E9570
split-complementary
#4E5095 #95704E #74954E
monochromatic
#242545 #393A6D #4E5095 #6D6FB3 #9697C8

Accessibility & contrast

On white

7.23
#4E5095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E5095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5095
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5095#FFFFFF#000000##FFFFFF
##4E50951.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A98
Deuteranopia (green-blind)
#2F5493
Tritanopia (blue-blind)
#355E6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e5095;
/* rgb */ color: rgb(78, 80, 149);
/* oklch */ color: oklch(46.4% 0.110 279.9);
Tailwind
colors: {
  custom: {
    50: '#8481b4',
    500: '#4e5095',
    950: '#000000',
  },
}
SCSS
$custom: #4e5095;
$custom-light: #8481b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5095",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 238.31,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46387,
    "c": 0.11028,
    "h": 279.9
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#4E5095
secondary
#B4B38A
accent
#C560C7
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5095

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

Preview Lab → · Contrast checker → · Palette generator →

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