#5B79F6#5B79F6

#5B79F6 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.189 H 269.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5B79F6
RGBrgb(91, 121, 246)
HSLhsl(228, 90%, 66%)
HSVhsv(228, 63%, 96%)
CMYKcmyk(63%, 50.8%, 0%, 3.5%)
CIE-LABlab(54.61, 27.49, -66.00)
CIE-LCHlch(54.61, 71.50, 292.61°)
OKLaboklab(61.89% -0.0002 -0.1893)
OKLCHoklch(61.89% 0.189 269.9)
XYZxyz(27.7807, 22.5503, 90.0595)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79F6 #F6D85B
analogous
#5BC6F6 #5B79F6 #8A5BF6
triadic
#5B79F6 #F65B79 #79F65B
tetradic
#5B79F6 #F65BC6 #F6D85B #5BF68A
square
#5B79F6 #F65BC6 #F6D85B #5BF68A
split-complementary
#5B79F6 #F68A5B #C6F65B
monochromatic
#0B30CB #214AF3 #5B79F6 #95A8F9 #CFD8FC

Accessibility & contrast

On white

3.81
#5B79F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5B79F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79F6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79F6#FFFFFF#000000##000000
##5B79F61.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8AFA
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b79f6;
/* rgb */ color: rgb(91, 121, 246);
/* oklch */ color: oklch(61.9% 0.189 269.9);
Tailwind
colors: {
  custom: {
    50: '#989ffa',
    500: '#5b79f6',
    950: '#000000',
  },
}
SCSS
$custom: #5b79f6;
$custom-light: #989ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79f6",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 228.387,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.18929,
    "h": 269.9
  },
  "luminance": 0.22553
}

Semantic roles & 50–950 ramp

primary
#5B79F6
secondary
#F0E6BD
accent
#B900E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B79F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5B79F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva