#4E5199#4E5199

#4E5199 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.9% C 0.115 H 279.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4E5199
RGBrgb(78, 81, 153)
HSLhsl(238, 32%, 45%)
HSVhsv(238, 49%, 60%)
CMYKcmyk(49%, 47.1%, 0%, 40%)
CIE-LABlab(37.49, 19.11, -39.91)
CIE-LCHlch(37.49, 44.25, 295.58°)
OKLaboklab(46.85% 0.0183 -0.1133)
OKLCHoklch(46.85% 0.115 279.2)
XYZxyz(11.8323, 9.8038, 31.3997)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5199 #99964E
analogous
#4E7699 #4E5199 #704E99
triadic
#4E5199 #994E51 #51994E
tetradic
#4E5199 #994E76 #99964E #4E9970
square
#4E5199 #994E76 #99964E #4E9970
split-complementary
#4E5199 #99704E #76994E
monochromatic
#252648 #393C70 #4E5199 #6F72B5 #9799CA

Accessibility & contrast

On white

7.09
#4E5199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4E5199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5199
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5199#FFFFFF#000000##FFFFFF
##4E51991.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335B9C
Deuteranopia (green-blind)
#2D5597
Tritanopia (blue-blind)
#32606D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5199;
/* rgb */ color: rgb(78, 81, 153);
/* oklch */ color: oklch(46.9% 0.115 279.2);
Tailwind
colors: {
  custom: {
    50: '#8481b7',
    500: '#4e5199',
    950: '#000000',
  },
}
SCSS
$custom: #4e5199;
$custom-light: #8481b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5199",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 237.6,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4685,
    "c": 0.11479,
    "h": 279.2
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#4E5199
secondary
#B7B58C
accent
#C45FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5199

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

Preview Lab → · Contrast checker → · Palette generator →

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