#5B79AF#5B79AF

#5B79AF is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.6% C 0.091 H 261.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5B79AF
RGBrgb(91, 121, 175)
HSLhsl(219, 34%, 52%)
HSVhsv(219, 48%, 69%)
CMYKcmyk(48%, 30.9%, 0%, 31.4%)
CIE-LABlab(50.68, 4.36, -32.02)
CIE-LCHlch(50.68, 32.32, 277.76°)
OKLaboklab(57.61% -0.0131 -0.0898)
OKLCHoklch(57.61% 0.091 261.7)
XYZxyz(18.8871, 18.9928, 43.2199)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79AF #AF915B
analogous
#5BA3AF #5B79AF #675BAF
triadic
#5B79AF #AF5B79 #79AF5B
tetradic
#5B79AF #AF5BA3 #AF915B #5BAF67
square
#5B79AF #AF5BA3 #AF915B #5BAF67
split-complementary
#5B79AF #AF675B #A3AF5B
monochromatic
#2F4161 #435C8A #5B79AF #849BC3 #ADBCD7

Accessibility & contrast

On white

4.38
#5B79AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5B79AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79AF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79AF#FFFFFF#000000##000000
##5B79AF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#657DB1
Deuteranopia (green-blind)
#5B75AE
Tritanopia (blue-blind)
#38858C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b79af;
/* rgb */ color: rgb(91, 121, 175);
/* oklch */ color: oklch(57.6% 0.091 261.7);
Tailwind
colors: {
  custom: {
    50: '#8e9fc7',
    500: '#5b79af',
    950: '#000000',
  },
}
SCSS
$custom: #5b79af;
$custom-light: #8e9fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79af",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 175
  },
  "hsl": {
    "h": 218.571,
    "s": 34.426,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.09077,
    "h": 261.7
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#5B79AF
secondary
#C5B8A1
accent
#A45DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0E13
muted
#7D7E82

Preview Lab

Preview with #5B79AF

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

Preview Lab → · Contrast checker → · Palette generator →

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