#5779F2#5779F2

#5779F2 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.185 H 268.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5779F2
RGBrgb(87, 121, 242)
HSLhsl(227, 86%, 65%)
HSVhsv(227, 64%, 95%)
CMYKcmyk(64%, 50%, 0%, 5.1%)
CIE-LABlab(54.14, 25.49, -64.54)
CIE-LCHlch(54.14, 69.39, 291.55°)
OKLaboklab(61.41% -0.0044 -0.1851)
OKLCHoklch(61.41% 0.185 268.6)
XYZxyz(26.7894, 22.1093, 86.8429)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5779F2 #F2D057
analogous
#57C6F2 #5779F2 #8357F2
triadic
#5779F2 #F25779 #79F257
tetradic
#5779F2 #F257C6 #F2D057 #57F283
square
#5779F2 #F257C6 #F2D057 #57F283
split-complementary
#5779F2 #F28357 #C6F257
monochromatic
#0F36C0 #1E4CEE #5779F2 #90A6F6 #C9D4FB

Accessibility & contrast

On white

3.87
#5779F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5779F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5779F2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5779F2#FFFFFF#000000##000000
##5779F21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5779f2;
/* rgb */ color: rgb(87, 121, 242);
/* oklch */ color: oklch(61.4% 0.185 268.6);
Tailwind
colors: {
  custom: {
    50: '#959ff7',
    500: '#5779f2',
    950: '#000000',
  },
}
SCSS
$custom: #5779f2;
$custom-light: #959ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#5779f2",
  "rgb": {
    "r": 87,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 226.839,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.18512,
    "h": 268.6
  },
  "luminance": 0.22112
}

Semantic roles & 50–950 ramp

primary
#5779F2
secondary
#EDE1B8
accent
#B103E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5779F2

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

Preview Lab → · Contrast checker → · Palette generator →

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