#4E5498#4E5498

#4E5498 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.4% C 0.109 H 277.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4E5498
RGBrgb(78, 84, 152)
HSLhsl(235, 32%, 45%)
HSVhsv(235, 49%, 60%)
CMYKcmyk(48.7%, 44.7%, 0%, 40.4%)
CIE-LABlab(38.25, 16.86, -38.10)
CIE-LCHlch(38.25, 41.67, 293.87°)
OKLaboklab(47.41% 0.0144 -0.108)
OKLCHoklch(47.41% 0.109 277.6)
XYZxyz(11.9780, 10.2267, 31.0425)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5498 #98924E
analogous
#4E7998 #4E5498 #6D4E98
triadic
#4E5498 #984E54 #54984E
tetradic
#4E5498 #984E79 #98924E #4E986D
square
#4E5498 #984E79 #98924E #4E986D
split-complementary
#4E5498 #986D4E #79984E
monochromatic
#242747 #393E70 #4E5498 #6E74B5 #979BCA

Accessibility & contrast

On white

6.90
#4E5498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4E5498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5498
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5498#FFFFFF#000000##FFFFFF
##4E54981.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#335796
Tritanopia (blue-blind)
#33626E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5498;
/* rgb */ color: rgb(78, 84, 152);
/* oklch */ color: oklch(47.4% 0.109 277.6);
Tailwind
colors: {
  custom: {
    50: '#8484b7',
    500: '#4e5498',
    950: '#000000',
  },
}
SCSS
$custom: #4e5498;
$custom-light: #8484b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5498",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 235.135,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.10894,
    "h": 277.6
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5498

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

Preview Lab → · Contrast checker → · Palette generator →

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