#5B79BB#5B79BB

#5B79BB is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.2% C 0.108 H 264.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5B79BB
RGBrgb(91, 121, 187)
HSLhsl(221, 41%, 55%)
HSVhsv(221, 51%, 73%)
CMYKcmyk(51.3%, 35.3%, 0%, 26.7%)
CIE-LABlab(51.25, 8.11, -38.05)
CIE-LCHlch(51.25, 38.90, 282.03°)
OKLaboklab(58.24% -0.0099 -0.1073)
OKLCHoklch(58.24% 0.108 264.7)
XYZxyz(20.1184, 19.4854, 49.7050)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79BB #BB9D5B
analogous
#5BA9BB #5B79BB #6D5BBB
triadic
#5B79BB #BB5B79 #79BB5B
tetradic
#5B79BB #BB5BA9 #BB9D5B #5BBB6D
square
#5B79BB #BB5BA9 #BB9D5B #5BBB6D
split-complementary
#5B79BB #BB6D5B #A9BB5B
monochromatic
#2E426E #405C99 #5B79BB #869CCD #B2C0DF

Accessibility & contrast

On white

4.29
#5B79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5B79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79BB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79BB#FFFFFF#000000##000000
##5B79BB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#2E8791
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b79bb;
/* rgb */ color: rgb(91, 121, 187);
/* oklch */ color: oklch(58.2% 0.108 264.7);
Tailwind
colors: {
  custom: {
    50: '#8f9fd0',
    500: '#5b79bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b79bb;
$custom-light: #8f9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79bb",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 221.25,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5824,
    "c": 0.10776,
    "h": 264.7
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#5B79BB
secondary
#CDC1A5
accent
#AB57D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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