#5976DB#5976DB

#5976DB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.4% C 0.157 H 269.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5976DB
RGBrgb(89, 118, 219)
HSLhsl(227, 64%, 60%)
HSVhsv(227, 59%, 86%)
CMYKcmyk(59.4%, 46.1%, 0%, 14.1%)
CIE-LABlab(52.06, 19.94, -55.01)
CIE-LCHlch(52.06, 58.51, 289.93°)
OKLaboklab(59.39% -0.0023 -0.157)
OKLCHoklch(59.39% 0.157 269.2)
XYZxyz(23.3801, 20.1933, 69.6697)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976DB #DBBE59
analogous
#59B7DB #5976DB #7D59DB
triadic
#5976DB #DB5976 #76DB59
tetradic
#5976DB #DB59B7 #DBBE59 #59DB7D
square
#5976DB #DB59B7 #DBBE59 #59DB7D
split-complementary
#5976DB #DB7D59 #B7DB59
monochromatic
#213C99 #2C4FCB #5976DB #8BA0E6 #BEC9F1

Accessibility & contrast

On white

4.17
#5976DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5976DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976DB#FFFFFF#000000##000000
##5976DB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5976db;
/* rgb */ color: rgb(89, 118, 219);
/* oklch */ color: oklch(59.4% 0.157 269.2);
Tailwind
colors: {
  custom: {
    50: '#929de7',
    500: '#5976db',
    950: '#000000',
  },
}
SCSS
$custom: #5976db;
$custom-light: #929de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5976db",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 226.615,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59393,
    "c": 0.15704,
    "h": 269.2
  },
  "luminance": 0.20195
}

Semantic roles & 50–950 ramp

primary
#5976DB
secondary
#E1D6AF
accent
#A419CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5976DB

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

Preview Lab → · Contrast checker → · Palette generator →

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