#5972DA#5972DA

#5972DA is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.5% C 0.161 H 270.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5972DA
RGBrgb(89, 114, 218)
HSLhsl(228, 64%, 60%)
HSVhsv(228, 59%, 85%)
CMYKcmyk(59.2%, 47.7%, 0%, 14.5%)
CIE-LABlab(50.94, 22.07, -56.23)
CIE-LCHlch(50.94, 60.40, 291.43°)
OKLaboklab(58.53% 0.0016 -0.1606)
OKLCHoklch(58.53% 0.161 270.6)
XYZxyz(22.7878, 19.2186, 68.8248)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972DA #DAC159
analogous
#59B3DA #5972DA #8059DA
triadic
#5972DA #DA5972 #72DA59
tetradic
#5972DA #DA59B3 #DAC159 #59DA80
square
#5972DA #DA59B3 #DAC159 #59DA80
split-complementary
#5972DA #DA8059 #B3DA59
monochromatic
#223897 #2D4BC9 #5972DA #8B9DE5 #BDC7F0

Accessibility & contrast

On white

4.34
#5972DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5972DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972DA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972DA#FFFFFF#000000##000000
##5972DA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7FDE
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5972da;
/* rgb */ color: rgb(89, 114, 218);
/* oklch */ color: oklch(58.5% 0.161 270.6);
Tailwind
colors: {
  custom: {
    50: '#929ae6',
    500: '#5972da',
    950: '#000000',
  },
}
SCSS
$custom: #5972da;
$custom-light: #929ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5972da",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 228.372,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.16066,
    "h": 270.6
  },
  "luminance": 0.1922
}

Semantic roles & 50–950 ramp

primary
#5972DA
secondary
#E0D7AF
accent
#A91ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5972DA

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

Preview Lab → · Contrast checker → · Palette generator →

#5972DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva