#5B79DC#5B79DC

#5B79DC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.154 H 268.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5B79DC
RGBrgb(91, 121, 220)
HSLhsl(226, 65%, 61%)
HSVhsv(226, 59%, 86%)
CMYKcmyk(58.6%, 45%, 0%, 13.7%)
CIE-LABlab(53.02, 18.82, -54.02)
CIE-LCHlch(53.02, 57.20, 289.21°)
OKLaboklab(60.18% -0.0033 -0.154)
OKLCHoklch(60.18% 0.154 268.8)
XYZxyz(24.0657, 21.0643, 70.4939)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79DC #DCBE5B
analogous
#5BB9DC #5B79DC #7D5BDC
triadic
#5B79DC #DC5B79 #79DC5B
tetradic
#5B79DC #DC5BB9 #DCBE5B #5BDC7D
square
#5B79DC #DC5BB9 #DCBE5B #5BDC7D
split-complementary
#5B79DC #DC7D5B #B9DC5B
monochromatic
#213E9B #2C52CE #5B79DC #8DA2E7 #C0CBF2

Accessibility & contrast

On white

4.03
#5B79DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5B79DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79DC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79DC#FFFFFF#000000##000000
##5B79DC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b79dc;
/* rgb */ color: rgb(91, 121, 220);
/* oklch */ color: oklch(60.2% 0.154 268.8);
Tailwind
colors: {
  custom: {
    50: '#949fe7',
    500: '#5b79dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b79dc;
$custom-light: #949fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79dc",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 226.047,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60178,
    "c": 0.15409,
    "h": 268.8
  },
  "luminance": 0.21066
}

Semantic roles & 50–950 ramp

primary
#5B79DC
secondary
#E2D6B1
accent
#A319CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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