#4E5C8C#4E5C8C

#4E5C8C is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.4% C 0.079 H 270.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4E5C8C
RGBrgb(78, 92, 140)
HSLhsl(226, 28%, 43%)
HSVhsv(226, 44%, 55%)
CMYKcmyk(44.3%, 34.3%, 0%, 45.1%)
CIE-LABlab(39.86, 7.96, -28.32)
CIE-LCHlch(39.86, 29.41, 285.70°)
OKLaboklab(48.44% 0.0012 -0.0794)
OKLCHoklch(48.44% 0.079 270.8)
XYZxyz(11.7012, 11.1668, 26.3447)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C8C #8C7E4E
analogous
#4E7B8C #4E5C8C #5F4E8C
triadic
#4E5C8C #8C4E5C #5C8C4E
tetradic
#4E5C8C #8C4E7B #8C7E4E #4E8C5F
square
#4E5C8C #8C4E7B #8C7E4E #4E8C5F
split-complementary
#4E5C8C #8C5F4E #7B8C4E
monochromatic
#22283D #384265 #4E5C8C #6B7AAC #929DC2

Accessibility & contrast

On white

6.49
#4E5C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4E5C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5C8C
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C8C#FFFFFF#000000##FFFFFF
##4E5C8C1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618E
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#39666D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e5c8c;
/* rgb */ color: rgb(78, 92, 140);
/* oklch */ color: oklch(48.4% 0.079 270.8);
Tailwind
colors: {
  custom: {
    50: '#828aae',
    500: '#4e5c8c',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c8c;
$custom-light: #828aae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c8c",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 140
  },
  "hsl": {
    "h": 226.452,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48437,
    "c": 0.07943,
    "h": 270.8
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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