#4E55A5#4E55A5

#4E55A5 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.127 H 276.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4E55A5
RGBrgb(78, 85, 165)
HSLhsl(235, 36%, 48%)
HSVhsv(235, 53%, 65%)
CMYKcmyk(52.7%, 48.5%, 0%, 35.3%)
CIE-LABlab(39.30, 20.45, -44.21)
CIE-LCHlch(39.30, 48.71, 294.82°)
OKLaboklab(48.46% 0.015 -0.1259)
OKLCHoklch(48.46% 0.127 276.8)
XYZxyz(13.1798, 10.8325, 36.9864)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E55A5 #A59E4E
analogous
#4E81A5 #4E55A5 #724EA5
triadic
#4E55A5 #A54E55 #55A54E
tetradic
#4E55A5 #A54E81 #A59E4E #4EA572
square
#4E55A5 #A54E81 #A59E4E #4EA572
split-complementary
#4E55A5 #A5724E #81A54E
monochromatic
#272A52 #3A407B #4E55A5 #7379BD #9DA1D1

Accessibility & contrast

On white

6.63
#4E55A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E55A5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E55A5#FFFFFF#000000##FFFFFF
##4E55A51.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A8
Deuteranopia (green-blind)
#2759A3
Tritanopia (blue-blind)
#286675
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e55a5;
/* rgb */ color: rgb(78, 85, 165);
/* oklch */ color: oklch(48.5% 0.127 276.8);
Tailwind
colors: {
  custom: {
    50: '#8684c0',
    500: '#4e55a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e55a5;
$custom-light: #8684c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e55a5",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 165
  },
  "hsl": {
    "h": 235.172,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48457,
    "c": 0.12678,
    "h": 276.8
  },
  "luminance": 0.10833
}

Semantic roles & 50–950 ramp

primary
#4E55A5
secondary
#BDBA91
accent
#C35CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E55A5

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

Preview Lab → · Contrast checker → · Palette generator →

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