#5778E4#5778E4

#5778E4 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.168 H 268.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5778E4
RGBrgb(87, 120, 228)
HSLhsl(226, 72%, 62%)
HSVhsv(226, 62%, 89%)
CMYKcmyk(61.8%, 47.4%, 0%, 10.6%)
CIE-LABlab(53.01, 21.37, -58.54)
CIE-LCHlch(53.01, 62.32, 290.05°)
OKLaboklab(60.27% -0.005 -0.1674)
OKLCHoklch(60.27% 0.168 268.3)
XYZxyz(24.6458, 21.0585, 76.1496)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5778E4 #E4C357
analogous
#57BFE4 #5778E4 #7C57E4
triadic
#5778E4 #E45778 #78E457
tetradic
#5778E4 #E457BF #E4C357 #57E47C
square
#5778E4 #E457BF #E4C357 #57E47C
split-complementary
#5778E4 #E47C57 #BFE457
monochromatic
#1B3BA6 #234EDB #5778E4 #8CA2EC #C0CDF5

Accessibility & contrast

On white

4.03
#5778E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5778E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5778E4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5778E4#FFFFFF#000000##000000
##5778E41.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E8
Deuteranopia (green-blind)
#2679E2
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5778e4;
/* rgb */ color: rgb(87, 120, 228);
/* oklch */ color: oklch(60.3% 0.168 268.3);
Tailwind
colors: {
  custom: {
    50: '#939eed',
    500: '#5778e4',
    950: '#000000',
  },
}
SCSS
$custom: #5778e4;
$custom-light: #939eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5778e4",
  "rgb": {
    "r": 87,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 225.957,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.16751,
    "h": 268.3
  },
  "luminance": 0.21061
}

Semantic roles & 50–950 ramp

primary
#5778E4
secondary
#E6D9B1
accent
#A711D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5778E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5778E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva