#4E5A8D#4E5A8D

#4E5A8D is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.0% C 0.084 H 272.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4E5A8D
RGBrgb(78, 90, 141)
HSLhsl(229, 29%, 43%)
HSVhsv(229, 45%, 55%)
CMYKcmyk(44.7%, 36.2%, 0%, 44.7%)
CIE-LABlab(39.33, 9.53, -29.74)
CIE-LCHlch(39.33, 31.24, 287.77°)
OKLaboklab(48.05% 0.0041 -0.0836)
OKLCHoklch(48.05% 0.084 272.8)
XYZxyz(11.6043, 10.8545, 26.6778)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A8D #8D814E
analogous
#4E798D #4E5A8D #614E8D
triadic
#4E5A8D #8D4E5A #5A8D4E
tetradic
#4E5A8D #8D4E79 #8D814E #4E8D61
square
#4E5A8D #8D4E79 #8D814E #4E8D61
split-complementary
#4E5A8D #8D614E #798D4E
monochromatic
#22283E #384166 #4E5A8D #6B78AD #929CC3

Accessibility & contrast

On white

6.62
#4E5A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4E5A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5A8D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A8D#FFFFFF#000000##FFFFFF
##4E5A8D1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8F
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#38646D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5a8d;
/* rgb */ color: rgb(78, 90, 141);
/* oklch */ color: oklch(48.0% 0.084 272.8);
Tailwind
colors: {
  custom: {
    50: '#8388ae',
    500: '#4e5a8d',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a8d;
$custom-light: #8388ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a8d",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 141
  },
  "hsl": {
    "h": 228.571,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48047,
    "c": 0.08367,
    "h": 272.8
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#4E5A8D
secondary
#AFA887
accent
#B263C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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