#5976DF#5976DF

#5976DF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.163 H 269.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5976DF
RGBrgb(89, 118, 223)
HSLhsl(227, 68%, 61%)
HSVhsv(227, 60%, 87%)
CMYKcmyk(60.1%, 47.1%, 0%, 12.5%)
CIE-LABlab(52.29, 21.28, -56.88)
CIE-LCHlch(52.29, 60.73, 290.51°)
OKLaboklab(59.65% -0.0018 -0.1625)
OKLCHoklch(59.65% 0.163 269.4)
XYZxyz(23.9131, 20.4064, 72.4764)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976DF #DFC259
analogous
#59B9DF #5976DF #7F59DF
triadic
#5976DF #DF5976 #76DF59
tetradic
#5976DF #DF59B9 #DFC259 #59DF7F
square
#5976DF #DF59B9 #DFC259 #59DF7F
split-complementary
#5976DF #DF7F59 #B9DF59
monochromatic
#1F3A9F #294DD2 #5976DF #8CA0E9 #C0CBF3

Accessibility & contrast

On white

4.13
#5976DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5976DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976DF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976DF#FFFFFF#000000##000000
##5976DF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E3
Deuteranopia (green-blind)
#2B77DD
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5976df;
/* rgb */ color: rgb(89, 118, 223);
/* oklch */ color: oklch(59.7% 0.163 269.4);
Tailwind
colors: {
  custom: {
    50: '#939de9',
    500: '#5976df',
    950: '#000000',
  },
}
SCSS
$custom: #5976df;
$custom-light: #939de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5976df",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 227.015,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.16254,
    "h": 269.4
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#5976DF
secondary
#E3D8B1
accent
#A716D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5976DF

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

Preview Lab → · Contrast checker → · Palette generator →

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