#5B79E7#5B79E7

#5B79E7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.169 H 269.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5B79E7
RGBrgb(91, 121, 231)
HSLhsl(227, 74%, 63%)
HSVhsv(227, 61%, 91%)
CMYKcmyk(60.6%, 47.6%, 0%, 9.4%)
CIE-LABlab(53.67, 22.47, -59.15)
CIE-LCHlch(53.67, 63.28, 290.80°)
OKLaboklab(60.89% -0.0018 -0.1691)
OKLCHoklch(60.89% 0.169 269.4)
XYZxyz(25.5707, 21.6663, 78.4203)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79E7 #E7C95B
analogous
#5BBFE7 #5B79E7 #835BE7
triadic
#5B79E7 #E75B79 #79E75B
tetradic
#5B79E7 #E75BBF #E7C95B #5BE783
square
#5B79E7 #E75BBF #E7C95B #5BE783
split-complementary
#5B79E7 #E7835B #BFE75B
monochromatic
#1939AE #264DDF #5B79E7 #90A5EF #C6D0F7

Accessibility & contrast

On white

3.94
#5B79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5B79E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79E7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79E7#FFFFFF#000000##000000
##5B79E71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#287AE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b79e7;
/* rgb */ color: rgb(91, 121, 231);
/* oklch */ color: oklch(60.9% 0.169 269.4);
Tailwind
colors: {
  custom: {
    50: '#959fef',
    500: '#5b79e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b79e7;
$custom-light: #959fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79e7",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 227.143,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60885,
    "c": 0.16915,
    "h": 269.4
  },
  "luminance": 0.21668
}

Semantic roles & 50–950 ramp

primary
#5B79E7
secondary
#E8DDB6
accent
#AC0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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