#4E55B1#4E55B1

#4E55B1 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.144 H 276.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4E55B1
RGBrgb(78, 85, 177)
HSLhsl(236, 39%, 50%)
HSVhsv(236, 56%, 69%)
CMYKcmyk(55.9%, 52%, 0%, 30.6%)
CIE-LABlab(40.06, 24.42, -50.08)
CIE-LCHlch(40.06, 55.72, 295.99°)
OKLaboklab(49.28% 0.0162 -0.1432)
OKLCHoklch(49.28% 0.144 276.5)
XYZxyz(14.3237, 11.2900, 43.0109)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E55B1 #B1AA4E
analogous
#4E86B1 #4E55B1 #794EB1
triadic
#4E55B1 #B14E55 #55B14E
tetradic
#4E55B1 #B14E86 #B1AA4E #4EB179
square
#4E55B1 #B14E86 #B1AA4E #4EB179
split-complementary
#4E55B1 #B1794E #86B14E
monochromatic
#292C5C #3B4187 #4E55B1 #787EC4 #A3A7D6

Accessibility & contrast

On white

6.45
#4E55B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4E55B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E55B1
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E55B1#FFFFFF#000000##FFFFFF
##4E55B11.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B4
Deuteranopia (green-blind)
#125AAF
Tritanopia (blue-blind)
#1A6A7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e55b1;
/* rgb */ color: rgb(78, 85, 177);
/* oklch */ color: oklch(49.3% 0.144 276.5);
Tailwind
colors: {
  custom: {
    50: '#8884c9',
    500: '#4e55b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e55b1;
$custom-light: #8884c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e55b1",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 177
  },
  "hsl": {
    "h": 235.758,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.14408,
    "h": 276.5
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#4E55B1
secondary
#C4C097
accent
#C659CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E55B1

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

Preview Lab → · Contrast checker → · Palette generator →

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