#5979AF#5979AF

#5979AF is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.5% C 0.092 H 260.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5979AF
RGBrgb(89, 121, 175)
HSLhsl(218, 35%, 52%)
HSVhsv(218, 49%, 69%)
CMYKcmyk(49.1%, 30.9%, 0%, 31.4%)
CIE-LABlab(50.56, 3.87, -32.21)
CIE-LCHlch(50.56, 32.44, 276.84°)
OKLaboklab(57.49% -0.0151 -0.0904)
OKLCHoklch(57.49% 0.092 260.5)
XYZxyz(18.6925, 18.8925, 43.2107)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979AF #AF8F59
analogous
#59A4AF #5979AF #6459AF
triadic
#5979AF #AF5979 #79AF59
tetradic
#5979AF #AF59A4 #AF8F59 #59AF64
square
#5979AF #AF59A4 #AF8F59 #59AF64
split-complementary
#5979AF #AF6459 #A4AF59
monochromatic
#2E4060 #425C89 #5979AF #829AC3 #ACBCD7

Accessibility & contrast

On white

4.39
#5979AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5979AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979AF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979AF#FFFFFF#000000##000000
##5979AF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB1
Deuteranopia (green-blind)
#5B75AE
Tritanopia (blue-blind)
#34858C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5979af;
/* rgb */ color: rgb(89, 121, 175);
/* oklch */ color: oklch(57.5% 0.092 260.5);
Tailwind
colors: {
  custom: {
    50: '#8d9fc7',
    500: '#5979af',
    950: '#000000',
  },
}
SCSS
$custom: #5979af;
$custom-light: #8d9fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5979af",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 175
  },
  "hsl": {
    "h": 217.674,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57485,
    "c": 0.09166,
    "h": 260.5
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#5979AF
secondary
#C5B79F
accent
#A25DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5979AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5979AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva