#4E5C8F#4E5C8F

#4E5C8F is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.6% C 0.084 H 271.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4E5C8F
RGBrgb(78, 92, 143)
HSLhsl(227, 29%, 43%)
HSVhsv(227, 45%, 56%)
CMYKcmyk(45.5%, 35.7%, 0%, 43.9%)
CIE-LABlab(40.01, 8.89, -29.89)
CIE-LCHlch(40.01, 31.19, 286.57°)
OKLaboklab(48.6% 0.002 -0.084)
OKLCHoklch(48.6% 0.084 271.3)
XYZxyz(11.9254, 11.2565, 27.5256)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C8F #8F814E
analogous
#4E7C8F #4E5C8F #604E8F
triadic
#4E5C8F #8F4E5C #5C8F4E
tetradic
#4E5C8F #8F4E7C #8F814E #4E8F60
square
#4E5C8F #8F4E7C #8F814E #4E8F60
split-complementary
#4E5C8F #8F604E #7C8F4E
monochromatic
#232940 #384367 #4E5C8F #6C7AAF #939EC4

Accessibility & contrast

On white

6.46
#4E5C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E5C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5C8F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C8F#FFFFFF#000000##FFFFFF
##4E5C8F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#37666F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e5c8f;
/* rgb */ color: rgb(78, 92, 143);
/* oklch */ color: oklch(48.6% 0.084 271.3);
Tailwind
colors: {
  custom: {
    50: '#838ab0',
    500: '#4e5c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c8f;
$custom-light: #838ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c8f",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 227.077,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48601,
    "c": 0.08401,
    "h": 271.3
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#4E5C8F
secondary
#B1A888
accent
#B062C6
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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