#4E5D98#4E5D98

#4E5D98 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.3% C 0.096 H 271.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4E5D98
RGBrgb(78, 93, 152)
HSLhsl(228, 32%, 45%)
HSVhsv(228, 49%, 60%)
CMYKcmyk(48.7%, 38.8%, 0%, 40.4%)
CIE-LABlab(40.76, 11.11, -34.12)
CIE-LCHlch(40.76, 35.89, 288.04°)
OKLaboklab(49.33% 0.0028 -0.0963)
OKLCHoklch(49.33% 0.096 271.7)
XYZxyz(12.7219, 11.7146, 31.2905)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5D98 #98894E
analogous
#4E8298 #4E5D98 #644E98
triadic
#4E5D98 #984E5D #5D984E
tetradic
#4E5D98 #984E82 #98894E #4E9864
square
#4E5D98 #984E82 #98894E #4E9864
split-complementary
#4E5D98 #98644E #82984E
monochromatic
#242C47 #394470 #4E5D98 #6E7DB5 #97A1CA

Accessibility & contrast

On white

6.28
#4E5D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4E5D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5D98
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5D98#FFFFFF#000000##FFFFFF
##4E5D981.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47639A
Deuteranopia (green-blind)
#405D97
Tritanopia (blue-blind)
#316973
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5d98;
/* rgb */ color: rgb(78, 93, 152);
/* oklch */ color: oklch(49.3% 0.096 271.7);
Tailwind
colors: {
  custom: {
    50: '#848ab6',
    500: '#4e5d98',
    950: '#000000',
  },
}
SCSS
$custom: #4e5d98;
$custom-light: #848ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5d98",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 152
  },
  "hsl": {
    "h": 227.838,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49332,
    "c": 0.09633,
    "h": 271.7
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#4E5D98
secondary
#B6AE8C
accent
#B35FC8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5D98

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

Preview Lab → · Contrast checker → · Palette generator →

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