#4E5899#4E5899

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

Color values

HEX#4E5899
RGBrgb(78, 88, 153)
HSLhsl(232, 32%, 45%)
HSVhsv(232, 49%, 60%)
CMYKcmyk(49%, 42.5%, 0%, 40%)
CIE-LABlab(39.41, 14.62, -36.86)
CIE-LCHlch(39.41, 39.65, 291.64°)
OKLaboklab(48.31% 0.0095 -0.1043)
OKLCHoklch(48.31% 0.105 275.2)
XYZxyz(12.3796, 10.8983, 31.5821)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5899 #998F4E
analogous
#4E7D99 #4E5899 #694E99
triadic
#4E5899 #994E58 #58994E
tetradic
#4E5899 #994E7D #998F4E #4E9969
square
#4E5899 #994E7D #998F4E #4E9969
split-complementary
#4E5899 #99694E #7D994E
monochromatic
#252948 #394170 #4E5899 #6F78B5 #979ECA

Accessibility & contrast

On white

6.60
#4E5899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E5899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5899
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5899#FFFFFF#000000##FFFFFF
##4E58991.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609C
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#316671
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5899;
/* rgb */ color: rgb(78, 88, 153);
/* oklch */ color: oklch(48.3% 0.105 275.2);
Tailwind
colors: {
  custom: {
    50: '#8487b7',
    500: '#4e5899',
    950: '#000000',
  },
}
SCSS
$custom: #4e5899;
$custom-light: #8487b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5899",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 232,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48313,
    "c": 0.10475,
    "h": 275.2
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#4E5899
secondary
#B7B18C
accent
#BB5FC9
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5899

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

Preview Lab → · Contrast checker → · Palette generator →

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