#4E5394#4E5394

#4E5394 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.9% C 0.104 H 278.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4E5394
RGBrgb(78, 83, 148)
HSLhsl(236, 31%, 44%)
HSVhsv(236, 47%, 58%)
CMYKcmyk(47.3%, 43.9%, 0%, 42%)
CIE-LABlab(37.74, 16.22, -36.49)
CIE-LCHlch(37.74, 39.94, 293.96°)
OKLaboklab(46.95% 0.015 -0.1033)
OKLCHoklch(46.95% 0.104 278.2)
XYZxyz(11.5788, 9.9437, 29.3205)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5394 #948F4E
analogous
#4E7694 #4E5394 #6C4E94
triadic
#4E5394 #944E53 #53944E
tetradic
#4E5394 #944E76 #948F4E #4E946C
square
#4E5394 #944E76 #948F4E #4E946C
split-complementary
#4E5394 #946C4E #76944E
monochromatic
#242644 #393D6C #4E5394 #6D72B2 #9599C7

Accessibility & contrast

On white

7.03
#4E5394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E5394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5394
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5394#FFFFFF#000000##FFFFFF
##4E53941.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C96
Deuteranopia (green-blind)
#345693
Tritanopia (blue-blind)
#35616C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5394;
/* rgb */ color: rgb(78, 83, 148);
/* oklch */ color: oklch(46.9% 0.104 278.2);
Tailwind
colors: {
  custom: {
    50: '#8483b4',
    500: '#4e5394',
    950: '#000000',
  },
}
SCSS
$custom: #4e5394;
$custom-light: #8483b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5394",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 148
  },
  "hsl": {
    "h": 235.714,
    "s": 30.973,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.10437,
    "h": 278.2
  },
  "luminance": 0.09944
}

Semantic roles & 50–950 ramp

primary
#4E5394
secondary
#B4B18A
accent
#C061C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5394

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

Preview Lab → · Contrast checker → · Palette generator →

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