#5972DB#5972DB

#5972DB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.162 H 270.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5972DB
RGBrgb(89, 114, 219)
HSLhsl(228, 64%, 60%)
HSVhsv(228, 59%, 86%)
CMYKcmyk(59.4%, 47.9%, 0%, 14.1%)
CIE-LABlab(51.00, 22.41, -56.69)
CIE-LCHlch(51.00, 60.96, 291.57°)
OKLaboklab(58.59% 0.0018 -0.162)
OKLCHoklch(58.59% 0.162 270.6)
XYZxyz(22.9191, 19.2711, 69.5160)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972DB #DBC259
analogous
#59B3DB #5972DB #8159DB
triadic
#5972DB #DB5972 #72DB59
tetradic
#5972DB #DB59B3 #DBC259 #59DB81
square
#5972DB #DB59B3 #DBC259 #59DB81
split-complementary
#5972DB #DB8159 #B3DB59
monochromatic
#213899 #2C4BCB #5972DB #8B9DE6 #BEC7F1

Accessibility & contrast

On white

4.33
#5972DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5972DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972DB#FFFFFF#000000##000000
##5972DB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#2774D9
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5972db;
/* rgb */ color: rgb(89, 114, 219);
/* oklch */ color: oklch(58.6% 0.162 270.6);
Tailwind
colors: {
  custom: {
    50: '#939ae7',
    500: '#5972db',
    950: '#000000',
  },
}
SCSS
$custom: #5972db;
$custom-light: #939ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5972db",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 228.462,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.16204,
    "h": 270.6
  },
  "luminance": 0.19273
}

Semantic roles & 50–950 ramp

primary
#5972DB
secondary
#E1D7AF
accent
#AA19CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5972DB

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

Preview Lab → · Contrast checker → · Palette generator →

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