#4E55B4#4E55B4

#4E55B4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.148 H 276.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4E55B4
RGBrgb(78, 85, 180)
HSLhsl(236, 40%, 51%)
HSVhsv(236, 57%, 71%)
CMYKcmyk(56.7%, 52.8%, 0%, 29.4%)
CIE-LABlab(40.26, 25.42, -51.53)
CIE-LCHlch(40.26, 57.46, 296.26°)
OKLaboklab(49.5% 0.0164 -0.1474)
OKLCHoklch(49.5% 0.148 276.4)
XYZxyz(14.6260, 11.4110, 44.6030)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E55B4 #B4AD4E
analogous
#4E88B4 #4E55B4 #7A4EB4
triadic
#4E55B4 #B44E55 #55B44E
tetradic
#4E55B4 #B44E88 #B4AD4E #4EB47A
square
#4E55B4 #B44E88 #B4AD4E #4EB47A
split-complementary
#4E55B4 #B47A4E #88B44E
monochromatic
#282C5F #3B408A #4E55B4 #797EC6 #A4A8D8

Accessibility & contrast

On white

6.40
#4E55B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4E55B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E55B4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E55B4#FFFFFF#000000##FFFFFF
##4E55B41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B7
Deuteranopia (green-blind)
#075BB2
Tritanopia (blue-blind)
#146B7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e55b4;
/* rgb */ color: rgb(78, 85, 180);
/* oklch */ color: oklch(49.5% 0.148 276.4);
Tailwind
colors: {
  custom: {
    50: '#8884cb',
    500: '#4e55b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e55b4;
$custom-light: #8884cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e55b4",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 180
  },
  "hsl": {
    "h": 235.882,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49497,
    "c": 0.14832,
    "h": 276.4
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

primary
#4E55B4
secondary
#C6C298
accent
#C857D0
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E55B4

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

Preview Lab → · Contrast checker → · Palette generator →

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