#4E55C2#4E55C2

#4E55C2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.168 H 275.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4E55C2
RGBrgb(78, 85, 194)
HSLhsl(236, 49%, 53%)
HSVhsv(236, 60%, 76%)
CMYKcmyk(59.8%, 56.2%, 0%, 23.9%)
CIE-LABlab(41.23, 30.10, -58.15)
CIE-LCHlch(41.23, 65.48, 297.37°)
OKLaboklab(50.53% 0.0171 -0.1669)
OKLCHoklch(50.53% 0.168 275.8)
XYZxyz(16.1248, 12.0105, 52.4970)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E55C2 #C2BB4E
analogous
#4E8FC2 #4E55C2 #814EC2
triadic
#4E55C2 #C24E55 #55C24E
tetradic
#4E55C2 #C24E8F #C2BB4E #4EC281
square
#4E55C2 #C24E8F #C2BB4E #4EC281
split-complementary
#4E55C2 #C2814E #8FC24E
monochromatic
#262B6F #363C9D #4E55C2 #7C81D2 #A9ACE1

Accessibility & contrast

On white

6.17
#4E55C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E55C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E55C2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E55C2#FFFFFF#000000##FFFFFF
##4E55C21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e55c2;
/* rgb */ color: rgb(78, 85, 194);
/* oklch */ color: oklch(50.5% 0.168 275.8);
Tailwind
colors: {
  custom: {
    50: '#8a84d5',
    500: '#4e55c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e55c2;
$custom-light: #8a84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e55c2",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 236.379,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5053,
    "c": 0.16776,
    "h": 275.8
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#4E55C2
secondary
#CFCC9D
accent
#D050D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E55C2

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

Preview Lab → · Contrast checker → · Palette generator →

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