#5B79E9#5B79E9

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

Color values

HEX#5B79E9
RGBrgb(91, 121, 233)
HSLhsl(227, 76%, 64%)
HSVhsv(227, 61%, 91%)
CMYKcmyk(60.9%, 48.1%, 0%, 8.6%)
CIE-LABlab(53.79, 23.14, -60.08)
CIE-LCHlch(53.79, 64.38, 291.06°)
OKLaboklab(61.02% -0.0016 -0.1718)
OKLCHoklch(61.02% 0.172 269.5)
XYZxyz(25.8548, 21.7799, 79.9164)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79E9 #E9CB5B
analogous
#5BC0E9 #5B79E9 #845BE9
triadic
#5B79E9 #E95B79 #79E95B
tetradic
#5B79E9 #E95BC0 #E9CB5B #5BE984
square
#5B79E9 #E95BC0 #E9CB5B #5BE984
split-complementary
#5B79E9 #E9845B #C0E95B
monochromatic
#1838B2 #254DE2 #5B79E9 #91A5F0 #C7D1F7

Accessibility & contrast

On white

3.92
#5B79E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5B79E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79E9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79E9#FFFFFF#000000##000000
##5B79E91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87ED
Deuteranopia (green-blind)
#247BE7
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b79e9;
/* rgb */ color: rgb(91, 121, 233);
/* oklch */ color: oklch(61.0% 0.172 269.5);
Tailwind
colors: {
  custom: {
    50: '#969ff1',
    500: '#5b79e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b79e9;
$custom-light: #969ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79e9",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 233
  },
  "hsl": {
    "h": 227.324,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.17186,
    "h": 269.5
  },
  "luminance": 0.21782
}

Semantic roles & 50–950 ramp

primary
#5B79E9
secondary
#E9DEB7
accent
#AE0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B79E9

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

Preview Lab → · Contrast checker → · Palette generator →

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