#5B79F8#5B79F8

#5B79F8 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.0% C 0.192 H 270.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5B79F8
RGBrgb(91, 121, 248)
HSLhsl(229, 92%, 66%)
HSVhsv(229, 63%, 97%)
CMYKcmyk(63.3%, 51.2%, 0%, 2.7%)
CIE-LABlab(54.73, 28.16, -66.90)
CIE-LCHlch(54.73, 72.59, 292.82°)
OKLaboklab(62.03% -0.0001 -0.1919)
OKLCHoklch(62.03% 0.192 270)
XYZxyz(28.0893, 22.6737, 91.6849)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79F8 #F8DA5B
analogous
#5BC8F8 #5B79F8 #8C5BF8
triadic
#5B79F8 #F85B79 #79F85B
tetradic
#5B79F8 #F85BC8 #F8DA5B #5BF88C
square
#5B79F8 #F85BC8 #F8DA5B #5BF88C
split-complementary
#5B79F8 #F88C5B #C8F85B
monochromatic
#092FD0 #2049F5 #5B79F8 #96A9FB #D0D9FD

Accessibility & contrast

On white

3.79
#5B79F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5B79F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79F8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79F8#FFFFFF#000000##000000
##5B79F81.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#0097AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b79f8;
/* rgb */ color: rgb(91, 121, 248);
/* oklch */ color: oklch(62.0% 0.192 270.0);
Tailwind
colors: {
  custom: {
    50: '#989ffb',
    500: '#5b79f8',
    950: '#000000',
  },
}
SCSS
$custom: #5b79f8;
$custom-light: #989ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79f8",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 228.535,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62031,
    "c": 0.19194,
    "h": 270
  },
  "luminance": 0.22676
}

Semantic roles & 50–950 ramp

primary
#5B79F8
secondary
#F1E7BE
accent
#BA00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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