#4E55A6#4E55A6

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

Color values

HEX#4E55A6
RGBrgb(78, 85, 166)
HSLhsl(235, 36%, 48%)
HSVhsv(235, 53%, 65%)
CMYKcmyk(53%, 48.8%, 0%, 34.9%)
CIE-LABlab(39.36, 20.78, -44.70)
CIE-LCHlch(39.36, 49.30, 294.93°)
OKLaboklab(48.52% 0.0151 -0.1273)
OKLCHoklch(48.52% 0.128 276.8)
XYZxyz(13.2711, 10.8690, 37.4676)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E55A6 #A69F4E
analogous
#4E81A6 #4E55A6 #734EA6
triadic
#4E55A6 #A64E55 #55A64E
tetradic
#4E55A6 #A64E81 #A69F4E #4EA673
square
#4E55A6 #A64E81 #A69F4E #4EA673
split-complementary
#4E55A6 #A6734E #81A64E
monochromatic
#272A53 #3A407C #4E55A6 #747ABE #9DA1D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E55A6#FFFFFF#000000##FFFFFF
##4E55A61.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)
#3060A9
Deuteranopia (green-blind)
#2659A4
Tritanopia (blue-blind)
#276775
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e55a6;
/* rgb */ color: rgb(78, 85, 166);
/* oklch */ color: oklch(48.5% 0.128 276.8);
Tailwind
colors: {
  custom: {
    50: '#8684c1',
    500: '#4e55a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e55a6;
$custom-light: #8684c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e55a6",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 166
  },
  "hsl": {
    "h": 235.227,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.12825,
    "h": 276.8
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E55A6

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

Preview Lab → · Contrast checker → · Palette generator →

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