#4E5398#4E5398

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

Color values

HEX#4E5398
RGBrgb(78, 83, 152)
HSLhsl(236, 32%, 45%)
HSVhsv(236, 49%, 60%)
CMYKcmyk(48.7%, 45.4%, 0%, 40.4%)
CIE-LABlab(37.97, 17.50, -38.54)
CIE-LCHlch(37.97, 42.33, 294.42°)
OKLaboklab(47.2% 0.0156 -0.1093)
OKLCHoklch(47.2% 0.11 278.1)
XYZxyz(11.9009, 10.0726, 31.0168)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5398 #98934E
analogous
#4E7898 #4E5398 #6E4E98
triadic
#4E5398 #984E53 #53984E
tetradic
#4E5398 #984E78 #98934E #4E986E
square
#4E5398 #984E78 #98934E #4E986E
split-complementary
#4E5398 #986E4E #78984E
monochromatic
#242747 #393D70 #4E5398 #6E73B5 #979ACA

Accessibility & contrast

On white

6.97
#4E5398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E5398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5398
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5398#FFFFFF#000000##FFFFFF
##4E53981.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#315796
Tritanopia (blue-blind)
#33626E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5398;
/* rgb */ color: rgb(78, 83, 152);
/* oklch */ color: oklch(47.2% 0.110 278.1);
Tailwind
colors: {
  custom: {
    50: '#8483b7',
    500: '#4e5398',
    950: '#000000',
  },
}
SCSS
$custom: #4e5398;
$custom-light: #8483b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5398",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 235.946,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47199,
    "c": 0.11039,
    "h": 278.1
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#4E5398
secondary
#B6B38C
accent
#C15FC8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5398

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

Preview Lab → · Contrast checker → · Palette generator →

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