#4E5A8A#4E5A8A

#4E5A8A is a mid, moderate blue. Relative luminance 0.108; OKLCH L 47.9% C 0.079 H 272.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4E5A8A
RGBrgb(78, 90, 138)
HSLhsl(228, 28%, 42%)
HSVhsv(228, 43%, 54%)
CMYKcmyk(43.5%, 34.8%, 0%, 45.9%)
CIE-LABlab(39.18, 8.60, -28.16)
CIE-LCHlch(39.18, 29.45, 286.99°)
OKLaboklab(47.88% 0.0033 -0.079)
OKLCHoklch(47.88% 0.079 272.4)
XYZxyz(11.3841, 10.7664, 25.5181)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A8A #8A7E4E
analogous
#4E788A #4E5A8A #604E8A
triadic
#4E5A8A #8A4E5A #5A8A4E
tetradic
#4E5A8A #8A4E78 #8A7E4E #4E8A60
square
#4E5A8A #8A4E78 #8A7E4E #4E8A60
split-complementary
#4E5A8A #8A604E #788A4E
monochromatic
#22273C #384163 #4E5A8A #6A77AB #919BC1

Accessibility & contrast

On white

6.66
#4E5A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E5A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5A8A
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A8A#FFFFFF#000000##FFFFFF
##4E5A8A1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#445A89
Tritanopia (blue-blind)
#3A646B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e5a8a;
/* rgb */ color: rgb(78, 90, 138);
/* oklch */ color: oklch(47.9% 0.079 272.4);
Tailwind
colors: {
  custom: {
    50: '#8288ac',
    500: '#4e5a8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a8a;
$custom-light: #8288ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a8a",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 228,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47882,
    "c": 0.07905,
    "h": 272.4
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#4E5A8A
secondary
#AEA686
accent
#B164C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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