#5579F6#5579F6

#5579F6 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.191 H 268.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5579F6
RGBrgb(85, 121, 246)
HSLhsl(227, 90%, 65%)
HSVhsv(227, 65%, 96%)
CMYKcmyk(65.4%, 50.8%, 0%, 3.5%)
CIE-LABlab(54.30, 26.53, -66.51)
CIE-LCHlch(54.30, 71.61, 291.75°)
OKLaboklab(61.58% -0.0059 -0.1909)
OKLCHoklch(61.58% 0.191 268.2)
XYZxyz(27.2125, 22.2573, 90.0329)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5579F6 #F6D255
analogous
#55C9F6 #5579F6 #8255F6
triadic
#5579F6 #F65579 #79F655
tetradic
#5579F6 #F655C9 #F6D255 #55F682
square
#5579F6 #F655C9 #F6D255 #55F682
split-complementary
#5579F6 #F68255 #C9F655
monochromatic
#0A34C6 #1B4BF3 #5579F6 #8FA7F9 #C9D5FC

Accessibility & contrast

On white

3.85
#5579F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5579F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5579F6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5579F6#FFFFFF#000000##000000
##5579F61.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8AFA
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5579f6;
/* rgb */ color: rgb(85, 121, 246);
/* oklch */ color: oklch(61.6% 0.191 268.2);
Tailwind
colors: {
  custom: {
    50: '#959ffa',
    500: '#5579f6',
    950: '#000000',
  },
}
SCSS
$custom: #5579f6;
$custom-light: #959ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#5579f6",
  "rgb": {
    "r": 85,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 226.584,
    "s": 89.944,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61578,
    "c": 0.19101,
    "h": 268.2
  },
  "luminance": 0.2226
}

Semantic roles & 50–950 ramp

primary
#5579F6
secondary
#EFE3B8
accent
#B200E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5579F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5579F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva