#4E5096#4E5096

#4E5096 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.5% C 0.112 H 279.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4E5096
RGBrgb(78, 80, 150)
HSLhsl(238, 32%, 45%)
HSVhsv(238, 48%, 59%)
CMYKcmyk(48%, 46.7%, 0%, 41.2%)
CIE-LABlab(37.04, 18.79, -38.82)
CIE-LCHlch(37.04, 43.13, 295.82°)
OKLaboklab(46.45% 0.0192 -0.1101)
OKLCHoklch(46.45% 0.112 279.9)
XYZxyz(11.5139, 9.5584, 30.0865)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5096 #96944E
analogous
#4E7496 #4E5096 #704E96
triadic
#4E5096 #964E50 #50964E
tetradic
#4E5096 #964E74 #96944E #4E9670
square
#4E5096 #964E74 #96944E #4E9670
split-complementary
#4E5096 #96704E #74964E
monochromatic
#242545 #393B6E #4E5096 #6E70B3 #9697C8

Accessibility & contrast

On white

7.21
#4E5096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5096
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5096#FFFFFF#000000##FFFFFF
##4E50961.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#2E5594
Tritanopia (blue-blind)
#355F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e5096;
/* rgb */ color: rgb(78, 80, 150);
/* oklch */ color: oklch(46.5% 0.112 279.9);
Tailwind
colors: {
  custom: {
    50: '#8481b5',
    500: '#4e5096',
    950: '#000000',
  },
}
SCSS
$custom: #4e5096;
$custom-light: #8481b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5096",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 150
  },
  "hsl": {
    "h": 238.333,
    "s": 31.579,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46451,
    "c": 0.11177,
    "h": 279.9
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#4E5096
secondary
#B5B48B
accent
#C560C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5096

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

Preview Lab → · Contrast checker → · Palette generator →

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