#5B79F0#5B79F0

#5B79F0 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.181 H 269.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5B79F0
RGBrgb(91, 121, 240)
HSLhsl(228, 83%, 65%)
HSVhsv(228, 62%, 94%)
CMYKcmyk(62.1%, 49.6%, 0%, 5.9%)
CIE-LABlab(54.23, 25.48, -63.28)
CIE-LCHlch(54.23, 68.22, 291.93°)
OKLaboklab(61.48% -0.0008 -0.1813)
OKLCHoklch(61.48% 0.181 269.7)
XYZxyz(26.8746, 22.1878, 85.2876)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79F0 #F0D25B
analogous
#5BC4F0 #5B79F0 #875BF0
triadic
#5B79F0 #F05B79 #79F05B
tetradic
#5B79F0 #F05BC4 #F0D25B #5BF087
square
#5B79F0 #F05BC4 #F0D25B #5BF087
split-complementary
#5B79F0 #F0875B #C4F05B
monochromatic
#1134BF #234BEB #5B79F0 #93A7F5 #CBD5FA

Accessibility & contrast

On white

3.86
#5B79F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5B79F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79F0
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79F0#FFFFFF#000000##000000
##5B79F01.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3789F4
Deuteranopia (green-blind)
#0E7BEE
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b79f0;
/* rgb */ color: rgb(91, 121, 240);
/* oklch */ color: oklch(61.5% 0.181 269.7);
Tailwind
colors: {
  custom: {
    50: '#979ff6',
    500: '#5b79f0',
    950: '#000000',
  },
}
SCSS
$custom: #5b79f0;
$custom-light: #979ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79f0",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 240
  },
  "hsl": {
    "h": 227.919,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.18129,
    "h": 269.7
  },
  "luminance": 0.2219
}

Semantic roles & 50–950 ramp

primary
#5B79F0
secondary
#EDE3BA
accent
#B406E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B79F0

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

Preview Lab → · Contrast checker → · Palette generator →

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