#4E5099#4E5099

#4E5099 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.6% C 0.116 H 279.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4E5099
RGBrgb(78, 80, 153)
HSLhsl(238, 32%, 45%)
HSVhsv(238, 49%, 60%)
CMYKcmyk(49%, 47.7%, 0%, 40%)
CIE-LABlab(37.22, 19.75, -40.34)
CIE-LCHlch(37.22, 44.92, 296.08°)
OKLaboklab(46.65% 0.0196 -0.1146)
OKLCHoklch(46.65% 0.116 279.7)
XYZxyz(11.7586, 9.6563, 31.3751)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5099 #99974E
analogous
#4E7599 #4E5099 #714E99
triadic
#4E5099 #994E50 #50994E
tetradic
#4E5099 #994E75 #99974E #4E9971
square
#4E5099 #994E75 #99974E #4E9971
split-complementary
#4E5099 #99714E #75994E
monochromatic
#252648 #393B70 #4E5099 #6F71B5 #9799CA

Accessibility & contrast

On white

7.16
#4E5099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E5099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5099
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5099#FFFFFF#000000##FFFFFF
##4E50991.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9C
Deuteranopia (green-blind)
#2B5597
Tritanopia (blue-blind)
#33606D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5099;
/* rgb */ color: rgb(78, 80, 153);
/* oklch */ color: oklch(46.6% 0.116 279.7);
Tailwind
colors: {
  custom: {
    50: '#8481b7',
    500: '#4e5099',
    950: '#000000',
  },
}
SCSS
$custom: #4e5099;
$custom-light: #8481b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5099",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 238.4,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46646,
    "c": 0.11625,
    "h": 279.7
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#4E5099
secondary
#B7B68C
accent
#C65FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5099

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

Preview Lab → · Contrast checker → · Palette generator →

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