#5778EC#5778EC

#5778EC is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.178 H 268.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5778EC
RGBrgb(87, 120, 236)
HSLhsl(227, 80%, 63%)
HSVhsv(227, 63%, 93%)
CMYKcmyk(63.1%, 49.2%, 0%, 7.5%)
CIE-LABlab(53.51, 24.07, -62.22)
CIE-LCHlch(53.51, 66.72, 291.15°)
OKLaboklab(60.8% -0.0041 -0.1783)
OKLCHoklch(60.8% 0.178 268.7)
XYZxyz(25.7821, 21.5130, 82.1344)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5778EC #ECCB57
analogous
#57C3EC #5778EC #8057EC
triadic
#5778EC #EC5778 #78EC57
tetradic
#5778EC #EC57C3 #ECCB57 #57EC80
square
#5778EC #EC57C3 #ECCB57 #57EC80
split-complementary
#5778EC #EC8057 #C3EC57
monochromatic
#1438B4 #204CE6 #5778EC #8EA4F2 #C5D0F8

Accessibility & contrast

On white

3.96
#5778EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5778EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5778EC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5778EC#FFFFFF#000000##000000
##5778EC1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#1179EA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5778ec;
/* rgb */ color: rgb(87, 120, 236);
/* oklch */ color: oklch(60.8% 0.178 268.7);
Tailwind
colors: {
  custom: {
    50: '#949ef3',
    500: '#5778ec',
    950: '#000000',
  },
}
SCSS
$custom: #5778ec;
$custom-light: #949ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5778ec",
  "rgb": {
    "r": 87,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 226.711,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.17831,
    "h": 268.7
  },
  "luminance": 0.21515
}

Semantic roles & 50–950 ramp

primary
#5778EC
secondary
#EADEB5
accent
#AD0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5778EC

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

Preview Lab → · Contrast checker → · Palette generator →

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