#5B79F5#5B79F5

#5B79F5 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.8% C 0.188 H 269.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5B79F5
RGBrgb(91, 121, 245)
HSLhsl(228, 89%, 66%)
HSVhsv(228, 63%, 96%)
CMYKcmyk(62.9%, 50.6%, 0%, 3.9%)
CIE-LABlab(54.54, 27.15, -65.55)
CIE-LCHlch(54.54, 70.95, 292.50°)
OKLaboklab(61.82% -0.0003 -0.188)
OKLCHoklch(61.82% 0.188 269.9)
XYZxyz(27.6276, 22.4890, 89.2534)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79F5 #F5D75B
analogous
#5BC6F5 #5B79F5 #8A5BF5
triadic
#5B79F5 #F55B79 #79F55B
tetradic
#5B79F5 #F55BC6 #F5D75B #5BF58A
square
#5B79F5 #F55BC6 #F5D75B #5BF58A
split-complementary
#5B79F5 #F58A5B #C6F55B
monochromatic
#0C31C9 #214AF1 #5B79F5 #95A8F9 #CED7FC

Accessibility & contrast

On white

3.82
#5B79F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5B79F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79F5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79F5#FFFFFF#000000##000000
##5B79F51.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#308AF9
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b79f5;
/* rgb */ color: rgb(91, 121, 245);
/* oklch */ color: oklch(61.8% 0.188 269.9);
Tailwind
colors: {
  custom: {
    50: '#979ff9',
    500: '#5b79f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b79f5;
$custom-light: #979ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79f5",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 228.312,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61824,
    "c": 0.18796,
    "h": 269.9
  },
  "luminance": 0.22491
}

Semantic roles & 50–950 ramp

primary
#5B79F5
secondary
#EFE5BC
accent
#B900E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B79F5

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

Preview Lab → · Contrast checker → · Palette generator →

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