#4E5CA6#4E5CA6

#4E5CA6 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 50.0% C 0.119 H 273.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4E5CA6
RGBrgb(78, 92, 166)
HSLhsl(230, 36%, 48%)
HSVhsv(230, 53%, 65%)
CMYKcmyk(53%, 44.6%, 0%, 34.9%)
CIE-LABlab(41.26, 16.31, -41.67)
CIE-LCHlch(41.26, 44.75, 291.38°)
OKLaboklab(49.97% 0.0069 -0.1184)
OKLCHoklch(49.97% 0.119 273.3)
XYZxyz(13.8498, 12.0263, 37.6605)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CA6 #A6984E
analogous
#4E88A6 #4E5CA6 #6C4EA6
triadic
#4E5CA6 #A64E5C #5CA64E
tetradic
#4E5CA6 #A64E88 #A6984E #4EA66C
square
#4E5CA6 #A64E88 #A6984E #4EA66C
split-complementary
#4E5CA6 #A66C4E #88A64E
monochromatic
#272E53 #3A457C #4E5CA6 #747FBE #9DA6D1

Accessibility & contrast

On white

6.17
#4E5CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E5CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CA6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CA6#FFFFFF#000000##FFFFFF
##4E5CA61.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#335EA4
Tritanopia (blue-blind)
#266C79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5ca6;
/* rgb */ color: rgb(78, 92, 166);
/* oklch */ color: oklch(50.0% 0.119 273.3);
Tailwind
colors: {
  custom: {
    50: '#8689c1',
    500: '#4e5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ca6;
$custom-light: #8689c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ca6",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 230.455,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.11858,
    "h": 273.3
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#4E5CA6
secondary
#BEB792
accent
#BA5CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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