#5979CB#5979CB

#5979CB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.0% C 0.131 H 266.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5979CB
RGBrgb(89, 121, 203)
HSLhsl(223, 52%, 57%)
HSVhsv(223, 56%, 80%)
CMYKcmyk(56.2%, 40.4%, 0%, 20.4%)
CIE-LABlab(51.96, 12.82, -46.09)
CIE-LCHlch(51.96, 47.84, 285.54°)
OKLaboklab(59.03% -0.0083 -0.1308)
OKLCHoklch(59.03% 0.131 266.4)
XYZxyz(21.7331, 20.1087, 59.2244)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979CB #CBAB59
analogous
#59B2CB #5979CB #7259CB
triadic
#5979CB #CB5979 #79CB59
tetradic
#5979CB #CB59B2 #CBAB59 #59CB72
square
#5979CB #CB59B2 #CBAB59 #59CB72
split-complementary
#5979CB #CB7259 #B2CB59
monochromatic
#284181 #3759B0 #5979CB #889FDA #B6C4E8

Accessibility & contrast

On white

4.18
#5979CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5979CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979CB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979CB#FFFFFF#000000##000000
##5979CB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#0D8B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5979cb;
/* rgb */ color: rgb(89, 121, 203);
/* oklch */ color: oklch(59.0% 0.131 266.4);
Tailwind
colors: {
  custom: {
    50: '#909fdb',
    500: '#5979cb',
    950: '#000000',
  },
}
SCSS
$custom: #5979cb;
$custom-light: #909fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5979cb",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 223.158,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59027,
    "c": 0.13108,
    "h": 266.4
  },
  "luminance": 0.2011
}

Semantic roles & 50–950 ramp

primary
#5979CB
secondary
#D7CAA9
accent
#B34CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5979CB

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

Preview Lab → · Contrast checker → · Palette generator →

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