#5972DF#5972DF

#5972DF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.9% C 0.168 H 270.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5972DF
RGBrgb(89, 114, 223)
HSLhsl(229, 68%, 61%)
HSVhsv(229, 60%, 87%)
CMYKcmyk(60.1%, 48.9%, 0%, 12.5%)
CIE-LABlab(51.25, 23.74, -58.56)
CIE-LCHlch(51.25, 63.18, 292.07°)
OKLaboklab(58.86% 0.0022 -0.1675)
OKLCHoklch(58.86% 0.168 270.8)
XYZxyz(23.4520, 19.4843, 72.3227)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972DF #DFC659
analogous
#59B5DF #5972DF #8359DF
triadic
#5972DF #DF5972 #72DF59
tetradic
#5972DF #DF59B5 #DFC659 #59DF83
square
#5972DF #DF59B5 #DFC659 #59DF83
split-complementary
#5972DF #DF8359 #B5DF59
monochromatic
#1F379F #2948D2 #5972DF #8C9EE9 #C0C9F3

Accessibility & contrast

On white

4.29
#5972DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5972DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972DF#FFFFFF#000000##000000
##5972DF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E3
Deuteranopia (green-blind)
#1E74DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5972df;
/* rgb */ color: rgb(89, 114, 223);
/* oklch */ color: oklch(58.9% 0.168 270.8);
Tailwind
colors: {
  custom: {
    50: '#939aea',
    500: '#5972df',
    950: '#000000',
  },
}
SCSS
$custom: #5972df;
$custom-light: #939aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5972df",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 228.806,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58857,
    "c": 0.16752,
    "h": 270.8
  },
  "luminance": 0.19486
}

Semantic roles & 50–950 ramp

primary
#5972DF
secondary
#E3DAB1
accent
#AD16D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5972DF

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

Preview Lab → · Contrast checker → · Palette generator →

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