#4E5B8C#4E5B8C

#4E5B8C is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.2% C 0.081 H 271.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4E5B8C
RGBrgb(78, 91, 140)
HSLhsl(227, 28%, 43%)
HSVhsv(227, 44%, 55%)
CMYKcmyk(44.3%, 35%, 0%, 45.1%)
CIE-LABlab(39.57, 8.59, -28.77)
CIE-LCHlch(39.57, 30.02, 286.62°)
OKLaboklab(48.21% 0.0025 -0.0807)
OKLCHoklch(48.21% 0.081 271.8)
XYZxyz(11.6151, 10.9947, 26.3160)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5B8C #8C7F4E
analogous
#4E7A8C #4E5B8C #604E8C
triadic
#4E5B8C #8C4E5B #5B8C4E
tetradic
#4E5B8C #8C4E7A #8C7F4E #4E8C60
square
#4E5B8C #8C4E7A #8C7F4E #4E8C60
split-complementary
#4E5B8C #8C604E #7A8C4E
monochromatic
#22283D #384165 #4E5B8C #6B79AC #929CC2

Accessibility & contrast

On white

6.56
#4E5B8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E5B8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5B8C
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5B8C#FFFFFF#000000##FFFFFF
##4E5B8C1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608E
Deuteranopia (green-blind)
#445B8B
Tritanopia (blue-blind)
#39656D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5b8c;
/* rgb */ color: rgb(78, 91, 140);
/* oklch */ color: oklch(48.2% 0.081 271.8);
Tailwind
colors: {
  custom: {
    50: '#8289ae',
    500: '#4e5b8c',
    950: '#000000',
  },
}
SCSS
$custom: #4e5b8c;
$custom-light: #8289ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5b8c",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 140
  },
  "hsl": {
    "h": 227.419,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48214,
    "c": 0.08077,
    "h": 271.8
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#4E5B8C
secondary
#AFA687
accent
#B063C5
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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