#4E5C8D#4E5C8D

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

Color values

HEX#4E5C8D
RGBrgb(78, 92, 141)
HSLhsl(227, 29%, 43%)
HSVhsv(227, 45%, 55%)
CMYKcmyk(44.7%, 34.8%, 0%, 44.7%)
CIE-LABlab(39.91, 8.27, -28.84)
CIE-LCHlch(39.91, 30.00, 286.00°)
OKLaboklab(48.49% 0.0014 -0.0809)
OKLCHoklch(48.49% 0.081 271)
XYZxyz(11.7753, 11.1965, 26.7348)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C8D #8D7F4E
analogous
#4E7B8D #4E5C8D #604E8D
triadic
#4E5C8D #8D4E5C #5C8D4E
tetradic
#4E5C8D #8D4E7B #8D7F4E #4E8D60
square
#4E5C8D #8D4E7B #8D7F4E #4E8D60
split-complementary
#4E5C8D #8D604E #7B8D4E
monochromatic
#22293E #384266 #4E5C8D #6B7AAD #929DC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5C8D#FFFFFF#000000##FFFFFF
##4E5C8D1.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)
#4B618F
Deuteranopia (green-blind)
#455C8C
Tritanopia (blue-blind)
#38666E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e5c8d;
/* rgb */ color: rgb(78, 92, 141);
/* oklch */ color: oklch(48.5% 0.081 271.0);
Tailwind
colors: {
  custom: {
    50: '#838aae',
    500: '#4e5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c8d;
$custom-light: #838aae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c8d",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 226.667,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48491,
    "c": 0.08096,
    "h": 271
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#4E5C8D
secondary
#AFA787
accent
#AF63C5
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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