#5B79DD#5B79DD

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

Color values

HEX#5B79DD
RGBrgb(91, 121, 221)
HSLhsl(226, 66%, 61%)
HSVhsv(226, 59%, 87%)
CMYKcmyk(58.8%, 45.2%, 0%, 13.3%)
CIE-LABlab(53.08, 19.15, -54.49)
CIE-LCHlch(53.08, 57.76, 289.36°)
OKLaboklab(60.24% -0.0032 -0.1554)
OKLCHoklch(60.24% 0.155 268.8)
XYZxyz(24.1985, 21.1174, 71.1935)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79DD #DDBF5B
analogous
#5BBADD #5B79DD #7E5BDD
triadic
#5B79DD #DD5B79 #79DD5B
tetradic
#5B79DD #DD5BBA #DDBF5B #5BDD7E
square
#5B79DD #DD5BBA #DDBF5B #5BDD7E
split-complementary
#5B79DD #DD7E5B #BADD5B
monochromatic
#213D9D #2B51D0 #5B79DD #8EA2E8 #C0CCF2

Accessibility & contrast

On white

4.02
#5B79DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5B79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79DD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79DD#FFFFFF#000000##000000
##5B79DD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#3779DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b79dd;
/* rgb */ color: rgb(91, 121, 221);
/* oklch */ color: oklch(60.2% 0.155 268.8);
Tailwind
colors: {
  custom: {
    50: '#949fe8',
    500: '#5b79dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b79dd;
$custom-light: #949fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79dd",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 226.154,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60241,
    "c": 0.15546,
    "h": 268.8
  },
  "luminance": 0.21119
}

Semantic roles & 50–950 ramp

primary
#5B79DD
secondary
#E2D7B1
accent
#A418CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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