#4E5196#4E5196

#4E5196 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.7% C 0.110 H 279.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4E5196
RGBrgb(78, 81, 150)
HSLhsl(238, 32%, 45%)
HSVhsv(238, 48%, 59%)
CMYKcmyk(48%, 46%, 0%, 41.2%)
CIE-LABlab(37.31, 18.14, -38.39)
CIE-LCHlch(37.31, 42.46, 295.30°)
OKLaboklab(46.66% 0.0179 -0.1088)
OKLCHoklch(46.66% 0.11 279.3)
XYZxyz(11.5877, 9.7060, 30.1111)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5196 #96934E
analogous
#4E7596 #4E5196 #6F4E96
triadic
#4E5196 #964E51 #51964E
tetradic
#4E5196 #964E75 #96934E #4E966F
square
#4E5196 #964E75 #96934E #4E966F
split-complementary
#4E5196 #966F4E #75964E
monochromatic
#242645 #393B6E #4E5196 #6E71B3 #9698C8

Accessibility & contrast

On white

7.14
#4E5196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4E5196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5196
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5196#FFFFFF#000000##FFFFFF
##4E51961.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B99
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#345F6C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5196;
/* rgb */ color: rgb(78, 81, 150);
/* oklch */ color: oklch(46.7% 0.110 279.3);
Tailwind
colors: {
  custom: {
    50: '#8481b5',
    500: '#4e5196',
    950: '#000000',
  },
}
SCSS
$custom: #4e5196;
$custom-light: #8481b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5196",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 237.5,
    "s": 31.579,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.11031,
    "h": 279.3
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#4E5196
secondary
#B5B38B
accent
#C360C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5196

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

Preview Lab → · Contrast checker → · Palette generator →

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