#5B79EA#5B79EA

#5B79EA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.173 H 269.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5B79EA
RGBrgb(91, 121, 234)
HSLhsl(227, 77%, 64%)
HSVhsv(227, 61%, 92%)
CMYKcmyk(61.1%, 48.3%, 0%, 8.2%)
CIE-LABlab(53.85, 23.47, -60.54)
CIE-LCHlch(53.85, 64.93, 291.19°)
OKLaboklab(61.08% -0.0015 -0.1732)
OKLCHoklch(61.08% 0.173 269.5)
XYZxyz(25.9980, 21.8372, 80.6709)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79EA #EACC5B
analogous
#5BC0EA #5B79EA #845BEA
triadic
#5B79EA #EA5B79 #79EA5B
tetradic
#5B79EA #EA5BC0 #EACC5B #5BEA84
square
#5B79EA #EA5BC0 #EACC5B #5BEA84
split-complementary
#5B79EA #EA845B #C0EA5B
monochromatic
#1738B4 #254DE3 #5B79EA #91A5F1 #C8D2F8

Accessibility & contrast

On white

3.91
#5B79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5B79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79EA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79EA#FFFFFF#000000##000000
##5B79EA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#217BE8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b79ea;
/* rgb */ color: rgb(91, 121, 234);
/* oklch */ color: oklch(61.1% 0.173 269.5);
Tailwind
colors: {
  custom: {
    50: '#969ff1',
    500: '#5b79ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b79ea;
$custom-light: #969ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79ea",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 227.413,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61082,
    "c": 0.17321,
    "h": 269.5
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#5B79EA
secondary
#EADFB7
accent
#AE0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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