#5778F2#5778F2

#5778F2 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.186 H 268.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5778F2
RGBrgb(87, 120, 242)
HSLhsl(227, 86%, 65%)
HSVhsv(227, 64%, 95%)
CMYKcmyk(64%, 50.4%, 0%, 5.1%)
CIE-LABlab(53.89, 26.10, -64.95)
CIE-LCHlch(53.89, 70.00, 291.89°)
OKLaboklab(61.21% -0.0035 -0.1863)
OKLCHoklch(61.21% 0.186 268.9)
XYZxyz(26.6685, 21.8676, 86.8026)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5778F2 #F2D157
analogous
#57C5F2 #5778F2 #8457F2
triadic
#5778F2 #F25778 #78F257
tetradic
#5778F2 #F257C5 #F2D157 #57F284
square
#5778F2 #F257C5 #F2D157 #57F284
split-complementary
#5778F2 #F28457 #C5F257
monochromatic
#0F35C0 #1E4AEE #5778F2 #90A6F6 #C9D3FB

Accessibility & contrast

On white

3.91
#5778F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5778F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5778F2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5778F2#FFFFFF#000000##000000
##5778F21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5778f2;
/* rgb */ color: rgb(87, 120, 242);
/* oklch */ color: oklch(61.2% 0.186 268.9);
Tailwind
colors: {
  custom: {
    50: '#959ef7',
    500: '#5778f2',
    950: '#000000',
  },
}
SCSS
$custom: #5778f2;
$custom-light: #959ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#5778f2",
  "rgb": {
    "r": 87,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 227.226,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61211,
    "c": 0.18633,
    "h": 268.9
  },
  "luminance": 0.2187
}

Semantic roles & 50–950 ramp

primary
#5778F2
secondary
#EDE2B8
accent
#B303E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5778F2

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

Preview Lab → · Contrast checker → · Palette generator →

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