#5979BB#5979BB

#5979BB is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.1% C 0.109 H 263.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5979BB
RGBrgb(89, 121, 187)
HSLhsl(220, 42%, 54%)
HSVhsv(220, 52%, 73%)
CMYKcmyk(52.4%, 35.3%, 0%, 26.7%)
CIE-LABlab(51.13, 7.64, -38.24)
CIE-LCHlch(51.13, 38.99, 281.30°)
OKLaboklab(58.12% -0.0119 -0.1079)
OKLCHoklch(58.12% 0.109 263.7)
XYZxyz(19.9238, 19.3850, 49.6959)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979BB #BB9B59
analogous
#59AABB #5979BB #6A59BB
triadic
#5979BB #BB5979 #79BB59
tetradic
#5979BB #BB59AA #BB9B59 #59BB6A
square
#5979BB #BB59AA #BB9B59 #59BB6A
split-complementary
#5979BB #BB6A59 #AABB59
monochromatic
#2D426D #3E5C98 #5979BB #849CCD #B0BFDF

Accessibility & contrast

On white

4.31
#5979BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5979BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979BB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979BB#FFFFFF#000000##000000
##5979BB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5979bb;
/* rgb */ color: rgb(89, 121, 187);
/* oklch */ color: oklch(58.1% 0.109 263.7);
Tailwind
colors: {
  custom: {
    50: '#8e9fd0',
    500: '#5979bb',
    950: '#000000',
  },
}
SCSS
$custom: #5979bb;
$custom-light: #8e9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5979bb",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 220.408,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58119,
    "c": 0.10854,
    "h": 263.7
  },
  "luminance": 0.19386
}

Semantic roles & 50–950 ramp

primary
#5979BB
secondary
#CDBFA3
accent
#A956D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5979BB

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

Preview Lab → · Contrast checker → · Palette generator →

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