#5B79ED#5B79ED

#5B79ED is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.177 H 269.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5B79ED
RGBrgb(91, 121, 237)
HSLhsl(228, 80%, 64%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(61.6%, 48.9%, 0%, 7.1%)
CIE-LABlab(54.04, 24.47, -61.91)
CIE-LCHlch(54.04, 66.58, 291.57°)
OKLaboklab(61.28% -0.0011 -0.1773)
OKLCHoklch(61.28% 0.177 269.6)
XYZxyz(26.4327, 22.0110, 82.9599)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79ED #EDCF5B
analogous
#5BC2ED #5B79ED #865BED
triadic
#5B79ED #ED5B79 #79ED5B
tetradic
#5B79ED #ED5BC2 #EDCF5B #5BED86
square
#5B79ED #ED5BC2 #EDCF5B #5BED86
split-complementary
#5B79ED #ED865B #C2ED5B
monochromatic
#1436B9 #244CE7 #5B79ED #92A6F3 #C9D3F9

Accessibility & contrast

On white

3.89
#5B79ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5B79ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79ED
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79ED#FFFFFF#000000##000000
##5B79ED1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#197BEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b79ed;
/* rgb */ color: rgb(91, 121, 237);
/* oklch */ color: oklch(61.3% 0.177 269.6);
Tailwind
colors: {
  custom: {
    50: '#969ff3',
    500: '#5b79ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b79ed;
$custom-light: #969ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79ed",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 227.671,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61282,
    "c": 0.17726,
    "h": 269.6
  },
  "luminance": 0.22013
}

Semantic roles & 50–950 ramp

primary
#5B79ED
secondary
#EBE1B9
accent
#B109DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B79ED

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

Preview Lab → · Contrast checker → · Palette generator →

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