#4E55AB#4E55AB

#4E55AB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.135 H 276.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4E55AB
RGBrgb(78, 85, 171)
HSLhsl(235, 37%, 49%)
HSVhsv(235, 54%, 67%)
CMYKcmyk(54.4%, 50.3%, 0%, 32.9%)
CIE-LABlab(39.67, 22.43, -47.17)
CIE-LCHlch(39.67, 52.23, 295.43°)
OKLaboklab(48.86% 0.0157 -0.1346)
OKLCHoklch(48.86% 0.135 276.6)
XYZxyz(13.7387, 11.0561, 39.9303)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E55AB #ABA44E
analogous
#4E84AB #4E55AB #764EAB
triadic
#4E55AB #AB4E55 #55AB4E
tetradic
#4E55AB #AB4E84 #ABA44E #4EAB76
square
#4E55AB #AB4E84 #ABA44E #4EAB76
split-complementary
#4E55AB #AB764E #84AB4E
monochromatic
#282B57 #3B4081 #4E55AB #767BC0 #A0A4D4

Accessibility & contrast

On white

6.54
#4E55AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E55AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E55AB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E55AB#FFFFFF#000000##FFFFFF
##4E55AB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AE
Deuteranopia (green-blind)
#1E5AA9
Tritanopia (blue-blind)
#226878
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e55ab;
/* rgb */ color: rgb(78, 85, 171);
/* oklch */ color: oklch(48.9% 0.135 276.6);
Tailwind
colors: {
  custom: {
    50: '#8784c4',
    500: '#4e55ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e55ab;
$custom-light: #8784c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e55ab",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 235.484,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.13549,
    "h": 276.6
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#4E55AB
secondary
#C1BD94
accent
#C55ACD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E55AB

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

Preview Lab → · Contrast checker → · Palette generator →

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