#5B79E4#5B79E4

#5B79E4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.165 H 269.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5B79E4
RGBrgb(91, 121, 228)
HSLhsl(227, 72%, 63%)
HSVhsv(227, 60%, 89%)
CMYKcmyk(60.1%, 46.9%, 0%, 10.6%)
CIE-LABlab(53.49, 21.47, -57.76)
CIE-LCHlch(53.49, 61.62, 290.39°)
OKLaboklab(60.69% -0.0022 -0.165)
OKLCHoklch(60.69% 0.165 269.2)
XYZxyz(25.1506, 21.4982, 76.2079)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79E4 #E4C65B
analogous
#5BBEE4 #5B79E4 #815BE4
triadic
#5B79E4 #E45B79 #79E45B
tetradic
#5B79E4 #E45BBE #E4C65B #5BE481
square
#5B79E4 #E45BBE #E4C65B #5BE481
split-complementary
#5B79E4 #E4815B #BEE45B
monochromatic
#1C3BA9 #264EDB #5B79E4 #90A4ED #C4CFF5

Accessibility & contrast

On white

3.96
#5B79E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5B79E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79E4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79E4#FFFFFF#000000##000000
##5B79E41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E8
Deuteranopia (green-blind)
#2D7AE2
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b79e4;
/* rgb */ color: rgb(91, 121, 228);
/* oklch */ color: oklch(60.7% 0.165 269.2);
Tailwind
colors: {
  custom: {
    50: '#959fed',
    500: '#5b79e4',
    950: '#000000',
  },
}
SCSS
$custom: #5b79e4;
$custom-light: #959fed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79e4",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 226.861,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.16506,
    "h": 269.2
  },
  "luminance": 0.215
}

Semantic roles & 50–950 ramp

primary
#5B79E4
secondary
#E6DBB4
accent
#A912D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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