#4E5197#4E5197

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

Color values

HEX#4E5197
RGBrgb(78, 81, 151)
HSLhsl(238, 32%, 45%)
HSVhsv(238, 48%, 59%)
CMYKcmyk(48.3%, 46.4%, 0%, 40.8%)
CIE-LABlab(37.37, 18.46, -38.90)
CIE-LCHlch(37.37, 43.06, 295.39°)
OKLaboklab(46.72% 0.018 -0.1103)
OKLCHoklch(46.72% 0.112 279.3)
XYZxyz(11.6685, 9.7383, 30.5370)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5197 #97944E
analogous
#4E7697 #4E5197 #6F4E97
triadic
#4E5197 #974E51 #51974E
tetradic
#4E5197 #974E76 #97944E #4E976F
square
#4E5197 #974E76 #97944E #4E976F
split-complementary
#4E5197 #976F4E #76974E
monochromatic
#242646 #393B6F #4E5197 #6E71B4 #9698C9

Accessibility & contrast

On white

7.12
#4E5197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4E5197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5197
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5197#FFFFFF#000000##FFFFFF
##4E51971.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9A
Deuteranopia (green-blind)
#2F5595
Tritanopia (blue-blind)
#34606C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5197;
/* rgb */ color: rgb(78, 81, 151);
/* oklch */ color: oklch(46.7% 0.112 279.3);
Tailwind
colors: {
  custom: {
    50: '#8481b6',
    500: '#4e5197',
    950: '#000000',
  },
}
SCSS
$custom: #4e5197;
$custom-light: #8481b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5197",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 237.534,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46721,
    "c": 0.1118,
    "h": 279.3
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#4E5197
secondary
#B6B48B
accent
#C460C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5197

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

Preview Lab → · Contrast checker → · Palette generator →

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