#4E5E98#4E5E98

#4E5E98 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.5% C 0.095 H 270.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4E5E98
RGBrgb(78, 94, 152)
HSLhsl(227, 32%, 45%)
HSVhsv(227, 49%, 60%)
CMYKcmyk(48.7%, 38.2%, 0%, 40.4%)
CIE-LABlab(41.04, 10.48, -33.67)
CIE-LCHlch(41.04, 35.27, 287.29°)
OKLaboklab(49.55% 0.0015 -0.095)
OKLCHoklch(49.55% 0.095 270.9)
XYZxyz(12.8103, 11.8913, 31.3199)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5E98 #98884E
analogous
#4E8398 #4E5E98 #634E98
triadic
#4E5E98 #984E5E #5E984E
tetradic
#4E5E98 #984E83 #98884E #4E9863
square
#4E5E98 #984E83 #98884E #4E9863
split-complementary
#4E5E98 #98634E #83984E
monochromatic
#242C47 #394570 #4E5E98 #6E7EB5 #97A2CA

Accessibility & contrast

On white

6.22
#4E5E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4E5E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5E98
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5E98#FFFFFF#000000##FFFFFF
##4E5E981.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48649A
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#316A74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5e98;
/* rgb */ color: rgb(78, 94, 152);
/* oklch */ color: oklch(49.5% 0.095 270.9);
Tailwind
colors: {
  custom: {
    50: '#848bb6',
    500: '#4e5e98',
    950: '#000000',
  },
}
SCSS
$custom: #4e5e98;
$custom-light: #848bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5e98",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 152
  },
  "hsl": {
    "h": 227.027,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.09499,
    "h": 270.9
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#4E5E98
secondary
#B6AD8C
accent
#B25FC8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E5E98

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

Preview Lab → · Contrast checker → · Palette generator →

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