#4E5A98#4E5A98

#4E5A98 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.7% C 0.100 H 273.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4E5A98
RGBrgb(78, 90, 152)
HSLhsl(230, 32%, 45%)
HSVhsv(230, 49%, 60%)
CMYKcmyk(48.7%, 40.8%, 0%, 40.4%)
CIE-LABlab(39.91, 13.02, -35.46)
CIE-LCHlch(39.91, 37.78, 290.16°)
OKLaboklab(48.68% 0.0067 -0.1002)
OKLCHoklch(48.68% 0.1 273.8)
XYZxyz(12.4638, 11.1983, 31.2044)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A98 #988C4E
analogous
#4E7F98 #4E5A98 #674E98
triadic
#4E5A98 #984E5A #5A984E
tetradic
#4E5A98 #984E7F #988C4E #4E9867
square
#4E5A98 #984E7F #988C4E #4E9867
split-complementary
#4E5A98 #98674E #7F984E
monochromatic
#242A47 #394270 #4E5A98 #6E7AB5 #979FCA

Accessibility & contrast

On white

6.48
#4E5A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E5A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5A98
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A98#FFFFFF#000000##FFFFFF
##4E5A981.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#326771
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e5a98;
/* rgb */ color: rgb(78, 90, 152);
/* oklch */ color: oklch(48.7% 0.100 273.8);
Tailwind
colors: {
  custom: {
    50: '#8488b6',
    500: '#4e5a98',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a98;
$custom-light: #8488b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a98",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 152
  },
  "hsl": {
    "h": 230.27,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48681,
    "c": 0.10044,
    "h": 273.8
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#4E5A98
secondary
#B6AF8C
accent
#B75FC8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5A98

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

Preview Lab → · Contrast checker → · Palette generator →

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