#5777F2#5777F2

#5777F2 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.188 H 269.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5777F2
RGBrgb(87, 119, 242)
HSLhsl(228, 86%, 65%)
HSVhsv(228, 64%, 95%)
CMYKcmyk(64%, 50.8%, 0%, 5.1%)
CIE-LABlab(53.63, 26.71, -65.37)
CIE-LCHlch(53.63, 70.61, 292.23°)
OKLaboklab(61.02% -0.0026 -0.1875)
OKLCHoklch(61.02% 0.188 269.2)
XYZxyz(26.5489, 21.6283, 86.7628)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5777F2 #F2D257
analogous
#57C4F2 #5777F2 #8557F2
triadic
#5777F2 #F25777 #77F257
tetradic
#5777F2 #F257C4 #F2D257 #57F285
square
#5777F2 #F257C4 #F2D257 #57F285
split-complementary
#5777F2 #F28557 #C4F257
monochromatic
#0F33C0 #1E49EE #5777F2 #90A5F6 #C9D3FB

Accessibility & contrast

On white

3.94
#5777F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5777F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5777F2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5777F2#FFFFFF#000000##000000
##5777F21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E87F6
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5777f2;
/* rgb */ color: rgb(87, 119, 242);
/* oklch */ color: oklch(61.0% 0.188 269.2);
Tailwind
colors: {
  custom: {
    50: '#959df7',
    500: '#5777f2',
    950: '#000000',
  },
}
SCSS
$custom: #5777f2;
$custom-light: #959df7;
$custom-dark: #000000;
JSON
{
  "hex": "#5777f2",
  "rgb": {
    "r": 87,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 227.613,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61017,
    "c": 0.18755,
    "h": 269.2
  },
  "luminance": 0.21631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5777F2

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

Preview Lab → · Contrast checker → · Palette generator →

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