#4E5898#4E5898

#4E5898 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.3% C 0.103 H 275.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4E5898
RGBrgb(78, 88, 152)
HSLhsl(232, 32%, 45%)
HSVhsv(232, 49%, 60%)
CMYKcmyk(48.7%, 42.1%, 0%, 40.4%)
CIE-LABlab(39.35, 14.30, -36.35)
CIE-LCHlch(39.35, 39.06, 291.47°)
OKLaboklab(48.25% 0.0093 -0.1028)
OKLCHoklch(48.25% 0.103 275.1)
XYZxyz(12.2973, 10.8655, 31.1489)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5898 #988E4E
analogous
#4E7D98 #4E5898 #694E98
triadic
#4E5898 #984E58 #58984E
tetradic
#4E5898 #984E7D #988E4E #4E9869
square
#4E5898 #984E7D #988E4E #4E9869
split-complementary
#4E5898 #98694E #7D984E
monochromatic
#242947 #394170 #4E5898 #6E78B5 #979ECA

Accessibility & contrast

On white

6.62
#4E5898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4E5898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5898
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5898#FFFFFF#000000##FFFFFF
##4E58981.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609A
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#326570
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5898;
/* rgb */ color: rgb(78, 88, 152);
/* oklch */ color: oklch(48.3% 0.103 275.1);
Tailwind
colors: {
  custom: {
    50: '#8487b6',
    500: '#4e5898',
    950: '#000000',
  },
}
SCSS
$custom: #4e5898;
$custom-light: #8487b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5898",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 152
  },
  "hsl": {
    "h": 231.892,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.10324,
    "h": 275.1
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#4E5898
secondary
#B6B08C
accent
#BA5FC8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5898

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

Preview Lab → · Contrast checker → · Palette generator →

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