#5979D7#5979D7

#5979D7 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.8% C 0.148 H 267.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5979D7
RGBrgb(89, 121, 215)
HSLhsl(225, 61%, 60%)
HSVhsv(225, 59%, 84%)
CMYKcmyk(58.6%, 43.7%, 0%, 15.7%)
CIE-LABlab(52.62, 16.77, -51.84)
CIE-LCHlch(52.62, 54.48, 287.93°)
OKLaboklab(59.75% -0.0061 -0.1477)
OKLCHoklch(59.75% 0.148 267.7)
XYZxyz(23.2188, 20.7030, 67.0493)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979D7 #D7B759
analogous
#59B8D7 #5979D7 #7859D7
triadic
#5979D7 #D75979 #79D759
tetradic
#5979D7 #D759B8 #D7B759 #59D778
square
#5979D7 #D759B8 #D7B759 #59D778
split-complementary
#5979D7 #D77859 #B8D759
monochromatic
#233F92 #2F55C4 #5979D7 #8AA1E3 #BCC9EF

Accessibility & contrast

On white

4.08
#5979D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5979D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979D7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979D7#FFFFFF#000000##000000
##5979D71.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F84DB
Deuteranopia (green-blind)
#3D78D5
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5979d7;
/* rgb */ color: rgb(89, 121, 215);
/* oklch */ color: oklch(59.8% 0.148 267.7);
Tailwind
colors: {
  custom: {
    50: '#929fe4',
    500: '#5979d7',
    950: '#000000',
  },
}
SCSS
$custom: #5979d7;
$custom-light: #929fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#5979d7",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 215
  },
  "hsl": {
    "h": 224.762,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59752,
    "c": 0.1478,
    "h": 267.7
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#5979D7
secondary
#DED2AD
accent
#BB44E4
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84

Preview Lab

Preview with #5979D7

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

Preview Lab → · Contrast checker → · Palette generator →

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