#5679F2#5679F2

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

Color values

HEX#5679F2
RGBrgb(86, 121, 242)
HSLhsl(227, 86%, 64%)
HSVhsv(227, 64%, 95%)
CMYKcmyk(64.5%, 50%, 0%, 5.1%)
CIE-LABlab(54.09, 25.33, -64.62)
CIE-LCHlch(54.09, 69.41, 291.40°)
OKLaboklab(61.35% -0.0053 -0.1853)
OKLCHoklch(61.35% 0.185 268.4)
XYZxyz(26.6967, 22.0615, 86.8386)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5679F2 #F2CF56
analogous
#56C7F2 #5679F2 #8156F2
triadic
#5679F2 #F25679 #79F256
tetradic
#5679F2 #F256C7 #F2CF56 #56F281
square
#5679F2 #F256C7 #F2CF56 #56F281
split-complementary
#5679F2 #F28156 #C7F256
monochromatic
#0F36BF #1D4CEE #5679F2 #8FA6F6 #C8D3FB

Accessibility & contrast

On white

3.88
#5679F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5679F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5679F2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5679F2#FFFFFF#000000##000000
##5679F21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5679f2;
/* rgb */ color: rgb(86, 121, 242);
/* oklch */ color: oklch(61.4% 0.185 268.4);
Tailwind
colors: {
  custom: {
    50: '#959ff7',
    500: '#5679f2',
    950: '#000000',
  },
}
SCSS
$custom: #5679f2;
$custom-light: #959ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#5679f2",
  "rgb": {
    "r": 86,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 226.538,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61353,
    "c": 0.18542,
    "h": 268.4
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#5679F2
secondary
#EDE1B7
accent
#B003E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5679F2

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

Preview Lab → · Contrast checker → · Palette generator →

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