#5B79BD#5B79BD

#5B79BD is a mid, moderate blue. Relative luminance 0.196; OKLCH L 58.3% C 0.111 H 265.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5B79BD
RGBrgb(91, 121, 189)
HSLhsl(222, 43%, 55%)
HSVhsv(222, 52%, 74%)
CMYKcmyk(51.9%, 36%, 0%, 25.9%)
CIE-LABlab(51.35, 8.74, -39.04)
CIE-LCHlch(51.35, 40.01, 282.62°)
OKLaboklab(58.35% -0.0094 -0.1102)
OKLCHoklch(58.35% 0.111 265.1)
XYZxyz(20.3340, 19.5716, 50.8404)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79BD #BD9F5B
analogous
#5BAABD #5B79BD #6E5BBD
triadic
#5B79BD #BD5B79 #79BD5B
tetradic
#5B79BD #BD5BAA #BD9F5B #5BBD6E
square
#5B79BD #BD5BAA #BD9F5B #5BBD6E
split-complementary
#5B79BD #BD6E5B #AABD5B
monochromatic
#2D4270 #3F5B9C #5B79BD #879DCF #B2C0E0

Accessibility & contrast

On white

4.27
#5B79BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5B79BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79BD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79BD#FFFFFF#000000##000000
##5B79BD1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC0
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#2C8892
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b79bd;
/* rgb */ color: rgb(91, 121, 189);
/* oklch */ color: oklch(58.3% 0.111 265.1);
Tailwind
colors: {
  custom: {
    50: '#8f9fd1',
    500: '#5b79bd',
    950: '#000000',
  },
}
SCSS
$custom: #5b79bd;
$custom-light: #8f9fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79bd",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 221.633,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58349,
    "c": 0.1106,
    "h": 265.1
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#5B79BD
secondary
#CFC2A5
accent
#AC55D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B79BD

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

Preview Lab → · Contrast checker → · Palette generator →

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