#4E5A8F#4E5A8F

#4E5A8F is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.2% C 0.087 H 273.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4E5A8F
RGBrgb(78, 90, 143)
HSLhsl(229, 29%, 43%)
HSVhsv(229, 45%, 56%)
CMYKcmyk(45.5%, 37.1%, 0%, 43.9%)
CIE-LABlab(39.44, 10.16, -30.79)
CIE-LCHlch(39.44, 32.43, 288.26°)
OKLaboklab(48.16% 0.0046 -0.0866)
OKLCHoklch(48.16% 0.087 273.1)
XYZxyz(11.7544, 10.9146, 27.4686)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A8F #8F834E
analogous
#4E7A8F #4E5A8F #624E8F
triadic
#4E5A8F #8F4E5A #5A8F4E
tetradic
#4E5A8F #8F4E7A #8F834E #4E8F62
square
#4E5A8F #8F4E7A #8F834E #4E8F62
split-complementary
#4E5A8F #8F624E #7A8F4E
monochromatic
#232840 #384167 #4E5A8F #6C78AF #939CC4

Accessibility & contrast

On white

6.60
#4E5A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E5A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5A8F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A8F#FFFFFF#000000##FFFFFF
##4E5A8F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#415A8E
Tritanopia (blue-blind)
#37656E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5a8f;
/* rgb */ color: rgb(78, 90, 143);
/* oklch */ color: oklch(48.2% 0.087 273.1);
Tailwind
colors: {
  custom: {
    50: '#8388b0',
    500: '#4e5a8f',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a8f;
$custom-light: #8388b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a8f",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 143
  },
  "hsl": {
    "h": 228.923,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48159,
    "c": 0.08674,
    "h": 273.1
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#4E5A8F
secondary
#B1A988
accent
#B362C6
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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