#5979DB#5979DB

#5979DB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.153 H 268.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5979DB
RGBrgb(89, 121, 219)
HSLhsl(225, 64%, 60%)
HSVhsv(225, 59%, 86%)
CMYKcmyk(59.4%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.85, 18.10, -53.73)
CIE-LCHlch(52.85, 56.70, 288.62°)
OKLaboklab(60% -0.0054 -0.1532)
OKLCHoklch(60% 0.153 268)
XYZxyz(23.7391, 20.9111, 69.7894)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979DB #DBBB59
analogous
#59BADB #5979DB #7A59DB
triadic
#5979DB #DB5979 #79DB59
tetradic
#5979DB #DB59BA #DBBB59 #59DB7A
square
#5979DB #DB59BA #DBBB59 #59DB7A
split-complementary
#5979DB #DB7A59 #BADB59
monochromatic
#213E99 #2C53CB #5979DB #8BA2E6 #BECAF1

Accessibility & contrast

On white

4.05
#5979DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5979DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979DB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979DB#FFFFFF#000000##000000
##5979DB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DF
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5979db;
/* rgb */ color: rgb(89, 121, 219);
/* oklch */ color: oklch(60.0% 0.153 268.0);
Tailwind
colors: {
  custom: {
    50: '#929fe7',
    500: '#5979db',
    950: '#000000',
  },
}
SCSS
$custom: #5979db;
$custom-light: #929fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5979db",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 225.231,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.15334,
    "h": 268
  },
  "luminance": 0.20913
}

Semantic roles & 50–950 ramp

primary
#5979DB
secondary
#E1D5AF
accent
#A019CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5979DB

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

Preview Lab → · Contrast checker → · Palette generator →

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