#5976F7#5976F7

#5976F7 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.3% C 0.195 H 270.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5976F7
RGBrgb(89, 118, 247)
HSLhsl(229, 91%, 66%)
HSVhsv(229, 64%, 97%)
CMYKcmyk(64%, 52.2%, 0%, 3.1%)
CIE-LABlab(53.81, 29.33, -67.85)
CIE-LCHlch(53.81, 73.92, 293.38°)
OKLaboklab(61.28% 0.0006 -0.1948)
OKLCHoklch(61.28% 0.195 270.2)
XYZxyz(27.3811, 21.7937, 90.7413)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976F7 #F7DA59
analogous
#59C5F7 #5976F7 #8B59F7
triadic
#5976F7 #F75976 #76F759
tetradic
#5976F7 #F759C5 #F7DA59 #59F78B
square
#5976F7 #F759C5 #F7DA59 #59F78B
split-complementary
#5976F7 #F78B59 #C5F759
monochromatic
#0A2DCC #1F46F4 #5976F7 #93A6FA #CED6FD

Accessibility & contrast

On white

3.92
#5976F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5976F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976F7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976F7#FFFFFF#000000##000000
##5976F71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2188FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0094AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5976f7;
/* rgb */ color: rgb(89, 118, 247);
/* oklch */ color: oklch(61.3% 0.195 270.2);
Tailwind
colors: {
  custom: {
    50: '#979dfb',
    500: '#5976f7',
    950: '#000000',
  },
}
SCSS
$custom: #5976f7;
$custom-light: #979dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5976f7",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 228.987,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61283,
    "c": 0.19481,
    "h": 270.2
  },
  "luminance": 0.21796
}

Semantic roles & 50–950 ramp

primary
#5976F7
secondary
#F0E6BC
accent
#BB00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5976F7

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

Preview Lab → · Contrast checker → · Palette generator →

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