#4E5B8A#4E5B8A

#4E5B8A is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.1% C 0.078 H 271.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4E5B8A
RGBrgb(78, 91, 138)
HSLhsl(227, 28%, 42%)
HSVhsv(227, 43%, 54%)
CMYKcmyk(43.5%, 34.1%, 0%, 45.9%)
CIE-LABlab(39.47, 7.97, -27.71)
CIE-LCHlch(39.47, 28.83, 286.04°)
OKLaboklab(48.11% 0.002 -0.0777)
OKLCHoklch(48.11% 0.078 271.5)
XYZxyz(11.4690, 10.9363, 25.5464)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5B8A #8A7D4E
analogous
#4E798A #4E5B8A #5F4E8A
triadic
#4E5B8A #8A4E5B #5B8A4E
tetradic
#4E5B8A #8A4E79 #8A7D4E #4E8A5F
square
#4E5B8A #8A4E79 #8A7D4E #4E8A5F
split-complementary
#4E5B8A #8A5F4E #798A4E
monochromatic
#22273C #384163 #4E5B8A #6A78AB #919CC1

Accessibility & contrast

On white

6.59
#4E5B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4E5B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5B8A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5B8A#FFFFFF#000000##FFFFFF
##4E5B8A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#455B89
Tritanopia (blue-blind)
#3A656C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5b8a;
/* rgb */ color: rgb(78, 91, 138);
/* oklch */ color: oklch(48.1% 0.078 271.5);
Tailwind
colors: {
  custom: {
    50: '#8289ac',
    500: '#4e5b8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e5b8a;
$custom-light: #8289ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5b8a",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 227,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48105,
    "c": 0.07769,
    "h": 271.5
  },
  "luminance": 0.10937
}

Semantic roles & 50–950 ramp

primary
#4E5B8A
secondary
#AEA586
accent
#AF64C4
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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