#5679F5#5679F5

#5679F5 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.6% C 0.189 H 268.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5679F5
RGBrgb(86, 121, 245)
HSLhsl(227, 89%, 65%)
HSVhsv(227, 65%, 96%)
CMYKcmyk(64.9%, 50.6%, 0%, 3.9%)
CIE-LABlab(54.28, 26.35, -65.98)
CIE-LCHlch(54.28, 71.05, 291.77°)
OKLaboklab(61.56% -0.005 -0.1893)
OKLCHoklch(61.56% 0.189 268.5)
XYZxyz(27.1509, 22.2432, 89.2310)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5679F5 #F5D256
analogous
#56C9F5 #5679F5 #8256F5
triadic
#5679F5 #F55679 #79F556
tetradic
#5679F5 #F556C9 #F5D256 #56F582
square
#5679F5 #F556C9 #F5D256 #56F582
split-complementary
#5679F5 #F58256 #C9F556
monochromatic
#0C34C5 #1C4BF2 #5679F5 #90A7F8 #CAD5FC

Accessibility & contrast

On white

3.85
#5679F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5679F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5679F5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5679F5#FFFFFF#000000##000000
##5679F51.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)
#2F89F9
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5679f5;
/* rgb */ color: rgb(86, 121, 245);
/* oklch */ color: oklch(61.6% 0.189 268.5);
Tailwind
colors: {
  custom: {
    50: '#959ff9',
    500: '#5679f5',
    950: '#000000',
  },
}
SCSS
$custom: #5679f5;
$custom-light: #959ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#5679f5",
  "rgb": {
    "r": 86,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 226.792,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6156,
    "c": 0.1894,
    "h": 268.5
  },
  "luminance": 0.22246
}

Semantic roles & 50–950 ramp

primary
#5679F5
secondary
#EFE3B8
accent
#B300E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5679F5

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

Preview Lab → · Contrast checker → · Palette generator →

#5679F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva