#5579F2#5579F2

#5579F2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.186 H 268.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5579F2
RGBrgb(85, 121, 242)
HSLhsl(226, 86%, 64%)
HSVhsv(226, 65%, 95%)
CMYKcmyk(64.9%, 50%, 0%, 5.1%)
CIE-LABlab(54.04, 25.17, -64.71)
CIE-LCHlch(54.04, 69.43, 291.25°)
OKLaboklab(61.3% -0.0062 -0.1856)
OKLCHoklch(61.3% 0.186 268.1)
XYZxyz(26.6052, 22.0144, 86.8343)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5579F2 #F2CE55
analogous
#55C8F2 #5579F2 #8055F2
triadic
#5579F2 #F25579 #79F255
tetradic
#5579F2 #F255C8 #F2CE55 #55F280
square
#5579F2 #F255C8 #F2CE55 #55F280
split-complementary
#5579F2 #F28055 #C8F255
monochromatic
#0F37BE #1C4CEE #5579F2 #8EA6F6 #C7D3FB

Accessibility & contrast

On white

3.89
#5579F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5579F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5579F2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5579F2#FFFFFF#000000##000000
##5579F21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5579f2;
/* rgb */ color: rgb(85, 121, 242);
/* oklch */ color: oklch(61.3% 0.186 268.1);
Tailwind
colors: {
  custom: {
    50: '#949ff7',
    500: '#5579f2',
    950: '#000000',
  },
}
SCSS
$custom: #5579f2;
$custom-light: #949ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#5579f2",
  "rgb": {
    "r": 85,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 226.242,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.1857,
    "h": 268.1
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

primary
#5579F2
secondary
#EDE0B6
accent
#AF03E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5579F2

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

Preview Lab → · Contrast checker → · Palette generator →

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