#4E5C8E#4E5C8E

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

Color values

HEX#4E5C8E
RGBrgb(78, 92, 142)
HSLhsl(227, 29%, 43%)
HSVhsv(227, 45%, 56%)
CMYKcmyk(45.1%, 35.2%, 0%, 44.3%)
CIE-LABlab(39.96, 8.58, -29.37)
CIE-LCHlch(39.96, 30.60, 286.29°)
OKLaboklab(48.55% 0.0017 -0.0825)
OKLCHoklch(48.55% 0.082 271.2)
XYZxyz(11.8500, 11.2264, 27.1284)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C8E #8E804E
analogous
#4E7C8E #4E5C8E #604E8E
triadic
#4E5C8E #8E4E5C #5C8E4E
tetradic
#4E5C8E #8E4E7C #8E804E #4E8E60
square
#4E5C8E #8E4E7C #8E804E #4E8E60
split-complementary
#4E5C8E #8E604E #7C8E4E
monochromatic
#23293F #384266 #4E5C8E #6B7AAE #939DC4

Accessibility & contrast

On white

6.47
#4E5C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5C8E
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C8E#FFFFFF#000000##FFFFFF
##4E5C8E1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#445C8D
Tritanopia (blue-blind)
#38666E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e5c8e;
/* rgb */ color: rgb(78, 92, 142);
/* oklch */ color: oklch(48.5% 0.082 271.2);
Tailwind
colors: {
  custom: {
    50: '#838aaf',
    500: '#4e5c8e',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c8e;
$custom-light: #838aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c8e",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 226.875,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48546,
    "c": 0.08249,
    "h": 271.2
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#4E5C8E
secondary
#B0A788
accent
#B062C5
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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