#5976E4#5976E4

#5976E4 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.0% C 0.169 H 269.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5976E4
RGBrgb(89, 118, 228)
HSLhsl(227, 72%, 62%)
HSVhsv(227, 61%, 89%)
CMYKcmyk(61%, 48.2%, 0%, 10.6%)
CIE-LABlab(52.60, 22.95, -59.20)
CIE-LCHlch(52.60, 63.49, 291.19°)
OKLaboklab(59.98% -0.0012 -0.1694)
OKLCHoklch(59.98% 0.169 269.6)
XYZxyz(24.5971, 20.6801, 76.0792)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976E4 #E4C759
analogous
#59BCE4 #5976E4 #8259E4
triadic
#5976E4 #E45976 #76E459
tetradic
#5976E4 #E459BC #E4C759 #59E482
square
#5976E4 #E459BC #E4C759 #59E482
split-complementary
#5976E4 #E48259 #BCE459
monochromatic
#1B38A7 #244BDB #5976E4 #8EA1ED #C2CDF5

Accessibility & contrast

On white

4.09
#5976E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5976E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976E4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976E4#FFFFFF#000000##000000
##5976E41.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D84E8
Deuteranopia (green-blind)
#2278E2
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5976e4;
/* rgb */ color: rgb(89, 118, 228);
/* oklch */ color: oklch(60.0% 0.169 269.6);
Tailwind
colors: {
  custom: {
    50: '#949ded',
    500: '#5976e4',
    950: '#000000',
  },
}
SCSS
$custom: #5976e4;
$custom-light: #949ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5976e4",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 227.482,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.16936,
    "h": 269.6
  },
  "luminance": 0.20682
}

Semantic roles & 50–950 ramp

primary
#5976E4
secondary
#E6DBB3
accent
#AB11D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5976E4

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

Preview Lab → · Contrast checker → · Palette generator →

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