#5B79BF#5B79BF

#5B79BF is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.5% C 0.113 H 265.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5B79BF
RGBrgb(91, 121, 191)
HSLhsl(222, 44%, 55%)
HSVhsv(222, 52%, 75%)
CMYKcmyk(52.4%, 36.6%, 0%, 25.1%)
CIE-LABlab(51.45, 9.38, -40.03)
CIE-LCHlch(51.45, 41.11, 283.19°)
OKLaboklab(58.46% -0.0089 -0.1131)
OKLCHoklch(58.46% 0.113 265.5)
XYZxyz(20.5526, 19.6590, 51.9917)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79BF #BFA15B
analogous
#5BABBF #5B79BF #6F5BBF
triadic
#5B79BF #BF5B79 #79BF5B
tetradic
#5B79BF #BF5BAB #BFA15B #5BBF6F
square
#5B79BF #BF5BAB #BFA15B #5BBF6F
split-complementary
#5B79BF #BF6F5B #ABBF5B
monochromatic
#2D4273 #3E5B9F #5B79BF #879DD0 #B3C1E1

Accessibility & contrast

On white

4.26
#5B79BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5B79BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79BF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79BF#FFFFFF#000000##000000
##5B79BF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#2A8893
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b79bf;
/* rgb */ color: rgb(91, 121, 191);
/* oklch */ color: oklch(58.5% 0.113 265.5);
Tailwind
colors: {
  custom: {
    50: '#909fd2',
    500: '#5b79bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b79bf;
$custom-light: #909fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79bf",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 222,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.11343,
    "h": 265.5
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#5B79BF
secondary
#D0C3A6
accent
#AD54D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B79BF

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

Preview Lab → · Contrast checker → · Palette generator →

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