#5B79BA#5B79BA

#5B79BA is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.2% C 0.106 H 264.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5B79BA
RGBrgb(91, 121, 186)
HSLhsl(221, 41%, 54%)
HSVhsv(221, 51%, 73%)
CMYKcmyk(51.1%, 34.9%, 0%, 27.1%)
CIE-LABlab(51.20, 7.79, -37.55)
CIE-LCHlch(51.20, 38.35, 281.72°)
OKLaboklab(58.18% -0.0102 -0.1059)
OKLCHoklch(58.18% 0.106 264.5)
XYZxyz(20.0117, 19.4427, 49.1431)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79BA #BA9C5B
analogous
#5BA9BA #5B79BA #6D5BBA
triadic
#5B79BA #BA5B79 #79BA5B
tetradic
#5B79BA #BA5BA9 #BA9C5B #5BBA6D
square
#5B79BA #BA5BA9 #BA9C5B #5BBA6D
split-complementary
#5B79BA #BA6D5B #A9BA5B
monochromatic
#2E426D #405C98 #5B79BA #869CCC #B1BFDE

Accessibility & contrast

On white

4.30
#5B79BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5B79BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79BA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79BA#FFFFFF#000000##000000
##5B79BA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBD
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#2F8791
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b79ba;
/* rgb */ color: rgb(91, 121, 186);
/* oklch */ color: oklch(58.2% 0.106 264.5);
Tailwind
colors: {
  custom: {
    50: '#8f9fcf',
    500: '#5b79ba',
    950: '#000000',
  },
}
SCSS
$custom: #5b79ba;
$custom-light: #8f9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79ba",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 221.053,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.10635,
    "h": 264.5
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#5B79BA
secondary
#CDC0A4
accent
#AA57D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B79BA

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

Preview Lab → · Contrast checker → · Palette generator →

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