#4E5AA0#4E5AA0

#4E5AA0 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.2% C 0.112 H 274.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4E5AA0
RGBrgb(78, 90, 160)
HSLhsl(231, 34%, 47%)
HSVhsv(231, 51%, 63%)
CMYKcmyk(51.2%, 43.7%, 0%, 37.3%)
CIE-LABlab(40.36, 15.61, -39.53)
CIE-LCHlch(40.36, 42.51, 291.55°)
OKLaboklab(49.17% 0.0082 -0.1121)
OKLCHoklch(49.17% 0.112 274.2)
XYZxyz(13.1412, 11.4693, 34.7722)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AA0 #A0944E
analogous
#4E83A0 #4E5AA0 #6B4EA0
triadic
#4E5AA0 #A04E5A #5AA04E
tetradic
#4E5AA0 #A04E83 #A0944E #4EA06B
square
#4E5AA0 #A04E83 #A0944E #4EA06B
split-complementary
#4E5AA0 #A06B4E #83A04E
monochromatic
#262C4E #3A4377 #4E5AA0 #717CBA #9AA2CE

Accessibility & contrast

On white

6.38
#4E5AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4E5AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AA0
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AA0#FFFFFF#000000##FFFFFF
##4E5AA01.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A3
Deuteranopia (green-blind)
#355C9E
Tritanopia (blue-blind)
#2C6975
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e5aa0;
/* rgb */ color: rgb(78, 90, 160);
/* oklch */ color: oklch(49.2% 0.112 274.2);
Tailwind
colors: {
  custom: {
    50: '#8588bc',
    500: '#4e5aa0',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aa0;
$custom-light: #8588bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aa0",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 160
  },
  "hsl": {
    "h": 231.22,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49169,
    "c": 0.11244,
    "h": 274.2
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

primary
#4E5AA0
secondary
#BBB48F
accent
#BB5DCB
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E5AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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