#5B79BC#5B79BC

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

Color values

HEX#5B79BC
RGBrgb(91, 121, 188)
HSLhsl(221, 42%, 55%)
HSVhsv(221, 52%, 74%)
CMYKcmyk(51.6%, 35.6%, 0%, 26.3%)
CIE-LABlab(51.30, 8.43, -38.54)
CIE-LCHlch(51.30, 39.45, 282.33°)
OKLaboklab(58.29% -0.0097 -0.1087)
OKLCHoklch(58.29% 0.109 264.9)
XYZxyz(20.2258, 19.5283, 50.2707)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79BC #BC9E5B
analogous
#5BAABC #5B79BC #6E5BBC
triadic
#5B79BC #BC5B79 #79BC5B
tetradic
#5B79BC #BC5BAA #BC9E5B #5BBC6E
square
#5B79BC #BC5BAA #BC9E5B #5BBC6E
split-complementary
#5B79BC #BC6E5B #AABC5B
monochromatic
#2D426F #3F5B9B #5B79BC #869DCE #B2C0E0

Accessibility & contrast

On white

4.28
#5B79BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B79BC#FFFFFF#000000##000000
##5B79BC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#5476BB
Tritanopia (blue-blind)
#2D8792
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b79bc;
/* rgb */ color: rgb(91, 121, 188);
/* oklch */ color: oklch(58.3% 0.109 264.9);
Tailwind
colors: {
  custom: {
    50: '#8f9fd0',
    500: '#5b79bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b79bc;
$custom-light: #8f9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79bc",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 221.443,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.10918,
    "h": 264.9
  },
  "luminance": 0.1953
}

Semantic roles & 50–950 ramp

primary
#5B79BC
secondary
#CEC1A5
accent
#AC56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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