#4E55B2#4E55B2

#4E55B2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.145 H 276.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4E55B2
RGBrgb(78, 85, 178)
HSLhsl(236, 39%, 50%)
HSVhsv(236, 56%, 70%)
CMYKcmyk(56.2%, 52.2%, 0%, 30.2%)
CIE-LABlab(40.13, 24.75, -50.57)
CIE-LCHlch(40.13, 56.30, 296.08°)
OKLaboklab(49.35% 0.0163 -0.1446)
OKLCHoklch(49.35% 0.146 276.4)
XYZxyz(14.4237, 11.3301, 43.5377)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E55B2 #B2AB4E
analogous
#4E87B2 #4E55B2 #794EB2
triadic
#4E55B2 #B24E55 #55B24E
tetradic
#4E55B2 #B24E87 #B2AB4E #4EB279
square
#4E55B2 #B24E87 #B2AB4E #4EB279
split-complementary
#4E55B2 #B2794E #87B24E
monochromatic
#292C5D #3B4088 #4E55B2 #797EC5 #A3A7D7

Accessibility & contrast

On white

6.43
#4E55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E55B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E55B2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E55B2#FFFFFF#000000##FFFFFF
##4E55B21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B5
Deuteranopia (green-blind)
#0F5BB0
Tritanopia (blue-blind)
#186A7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e55b2;
/* rgb */ color: rgb(78, 85, 178);
/* oklch */ color: oklch(49.4% 0.145 276.4);
Tailwind
colors: {
  custom: {
    50: '#8884ca',
    500: '#4e55b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e55b2;
$custom-light: #8884ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e55b2",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 235.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.1455,
    "h": 276.4
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#4E55B2
secondary
#C4C198
accent
#C759CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E55B2

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

Preview Lab → · Contrast checker → · Palette generator →

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