#5B79EF#5B79EF

#5B79EF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.180 H 269.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5B79EF
RGBrgb(91, 121, 239)
HSLhsl(228, 82%, 65%)
HSVhsv(228, 62%, 94%)
CMYKcmyk(61.9%, 49.4%, 0%, 6.3%)
CIE-LABlab(54.16, 25.14, -62.83)
CIE-LCHlch(54.16, 67.67, 291.81°)
OKLaboklab(61.42% -0.0009 -0.1799)
OKLCHoklch(61.42% 0.18 269.7)
XYZxyz(26.7265, 22.1286, 84.5074)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79EF #EFD15B
analogous
#5BC3EF #5B79EF #875BEF
triadic
#5B79EF #EF5B79 #79EF5B
tetradic
#5B79EF #EF5BC3 #EFD15B #5BEF87
square
#5B79EF #EF5BC3 #EFD15B #5BEF87
split-complementary
#5B79EF #EF875B #C3EF5B
monochromatic
#1235BD #234BEA #5B79EF #93A7F4 #CBD4FA

Accessibility & contrast

On white

3.87
#5B79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5B79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79EF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79EF#FFFFFF#000000##000000
##5B79EF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3988F3
Deuteranopia (green-blind)
#127BED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b79ef;
/* rgb */ color: rgb(91, 121, 239);
/* oklch */ color: oklch(61.4% 0.180 269.7);
Tailwind
colors: {
  custom: {
    50: '#969ff5',
    500: '#5b79ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b79ef;
$custom-light: #969ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79ef",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 227.838,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.17995,
    "h": 269.7
  },
  "luminance": 0.22131
}

Semantic roles & 50–950 ramp

primary
#5B79EF
secondary
#ECE2BA
accent
#B307DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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