#4E5C8A#4E5C8A

#4E5C8A is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.3% C 0.076 H 270.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4E5C8A
RGBrgb(78, 92, 138)
HSLhsl(226, 28%, 42%)
HSVhsv(226, 43%, 54%)
CMYKcmyk(43.5%, 33.3%, 0%, 45.9%)
CIE-LABlab(39.76, 7.34, -27.26)
CIE-LCHlch(39.76, 28.23, 285.07°)
OKLaboklab(48.33% 0.0006 -0.0764)
OKLCHoklch(48.33% 0.076 270.4)
XYZxyz(11.5551, 11.1084, 25.5751)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C8A #8A7C4E
analogous
#4E7A8A #4E5C8A #5E4E8A
triadic
#4E5C8A #8A4E5C #5C8A4E
tetradic
#4E5C8A #8A4E7A #8A7C4E #4E8A5E
square
#4E5C8A #8A4E7A #8A7C4E #4E8A5E
split-complementary
#4E5C8A #8A5E4E #7A8A4E
monochromatic
#22283C #384263 #4E5C8A #6A79AB #919CC1

Accessibility & contrast

On white

6.52
#4E5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4E5C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5C8A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C8A#FFFFFF#000000##FFFFFF
##4E5C8A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#475B89
Tritanopia (blue-blind)
#3A656D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e5c8a;
/* rgb */ color: rgb(78, 92, 138);
/* oklch */ color: oklch(48.3% 0.076 270.4);
Tailwind
colors: {
  custom: {
    50: '#828aac',
    500: '#4e5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c8a;
$custom-light: #828aac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c8a",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 226,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.07636,
    "h": 270.4
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#4E5C8A
secondary
#AEA486
accent
#AE64C4
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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