#5970BF#5970BF

#5970BF is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.125 H 269.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5970BF
RGBrgb(89, 112, 191)
HSLhsl(226, 44%, 55%)
HSVhsv(226, 53%, 75%)
CMYKcmyk(53.4%, 41.4%, 0%, 25.1%)
CIE-LABlab(48.85, 14.43, -44.15)
CIE-LCHlch(48.85, 46.45, 288.10°)
OKLaboklab(56.42% -0.0004 -0.1252)
OKLCHoklch(56.42% 0.125 269.8)
XYZxyz(19.3149, 17.4724, 51.6348)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5970BF #BFA859
analogous
#59A3BF #5970BF #7559BF
triadic
#5970BF #BF5970 #70BF59
tetradic
#5970BF #BF59A3 #BFA859 #59BF75
square
#5970BF #BF59A3 #BFA859 #59BF75
split-complementary
#5970BF #BF7559 #A3BF59
monochromatic
#2C3C72 #3D539E #5970BF #8596D0 #B1BCE1

Accessibility & contrast

On white

4.67
#5970BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5970BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5970BF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5970BF#FFFFFF#000000##FFFFFF
##5970BF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#27818E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5970bf;
/* rgb */ color: rgb(89, 112, 191);
/* oklch */ color: oklch(56.4% 0.125 269.8);
Tailwind
colors: {
  custom: {
    50: '#8f98d3',
    500: '#5970bf',
    950: '#000000',
  },
}
SCSS
$custom: #5970bf;
$custom-light: #8f98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5970bf",
  "rgb": {
    "r": 89,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 226.471,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.12524,
    "h": 269.8
  },
  "luminance": 0.17474
}

Semantic roles & 50–950 ramp

primary
#5970BF
secondary
#CFC6A4
accent
#B754D4
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5970BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5970BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva