#5B79E8#5B79E8

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

Color values

HEX#5B79E8
RGBrgb(91, 121, 232)
HSLhsl(227, 75%, 63%)
HSVhsv(227, 61%, 91%)
CMYKcmyk(60.8%, 47.8%, 0%, 9%)
CIE-LABlab(53.73, 22.81, -59.61)
CIE-LCHlch(53.73, 63.83, 290.93°)
OKLaboklab(60.95% -0.0017 -0.1705)
OKLCHoklch(60.95% 0.171 269.4)
XYZxyz(25.7123, 21.7229, 79.1662)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79E8 #E8CA5B
analogous
#5BBFE8 #5B79E8 #835BE8
triadic
#5B79E8 #E85B79 #79E85B
tetradic
#5B79E8 #E85BBF #E8CA5B #5BE883
square
#5B79E8 #E85BBF #E8CA5B #5BE883
split-complementary
#5B79E8 #E8835B #BFE85B
monochromatic
#1939B0 #254DE0 #5B79E8 #91A5F0 #C6D1F7

Accessibility & contrast

On white

3.93
#5B79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5B79E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79E8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79E8#FFFFFF#000000##000000
##5B79E81.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#267AE6
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b79e8;
/* rgb */ color: rgb(91, 121, 232);
/* oklch */ color: oklch(61.0% 0.171 269.4);
Tailwind
colors: {
  custom: {
    50: '#959ff0',
    500: '#5b79e8',
    950: '#000000',
  },
}
SCSS
$custom: #5b79e8;
$custom-light: #959ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79e8",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 227.234,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6095,
    "c": 0.1705,
    "h": 269.4
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#5B79E8
secondary
#E9DEB6
accent
#AD0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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