#4E5399#4E5399

#4E5399 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.3% C 0.112 H 278.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4E5399
RGBrgb(78, 83, 153)
HSLhsl(236, 32%, 45%)
HSVhsv(236, 49%, 60%)
CMYKcmyk(49%, 45.8%, 0%, 40%)
CIE-LABlab(38.03, 17.82, -39.05)
CIE-LCHlch(38.03, 42.92, 294.53°)
OKLaboklab(47.26% 0.0158 -0.1108)
OKLCHoklch(47.26% 0.112 278.1)
XYZxyz(11.9831, 10.1055, 31.4499)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5399 #99944E
analogous
#4E7899 #4E5399 #6E4E99
triadic
#4E5399 #994E53 #53994E
tetradic
#4E5399 #994E78 #99944E #4E996E
square
#4E5399 #994E78 #99944E #4E996E
split-complementary
#4E5399 #996E4E #78994E
monochromatic
#252748 #393D70 #4E5399 #6F73B5 #979BCA

Accessibility & contrast

On white

6.95
#4E5399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4E5399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5399
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5399#FFFFFF#000000##FFFFFF
##4E53991.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9C
Deuteranopia (green-blind)
#305797
Tritanopia (blue-blind)
#32626E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5399;
/* rgb */ color: rgb(78, 83, 153);
/* oklch */ color: oklch(47.3% 0.112 278.1);
Tailwind
colors: {
  custom: {
    50: '#8483b7',
    500: '#4e5399',
    950: '#000000',
  },
}
SCSS
$custom: #4e5399;
$custom-light: #8483b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5399",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 153
  },
  "hsl": {
    "h": 236,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47262,
    "c": 0.11189,
    "h": 278.1
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#4E5399
secondary
#B7B48C
accent
#C25FC9
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5399

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

Preview Lab → · Contrast checker → · Palette generator →

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