#5972F2#5972F2

#5972F2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.2% C 0.193 H 271.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5972F2
RGBrgb(89, 114, 242)
HSLhsl(230, 85%, 65%)
HSVhsv(230, 63%, 95%)
CMYKcmyk(63.2%, 52.9%, 0%, 5.1%)
CIE-LABlab(52.47, 30.10, -67.23)
CIE-LCHlch(52.47, 73.66, 294.11°)
OKLaboklab(60.17% 0.0038 -0.193)
OKLCHoklch(60.17% 0.193 271.1)
XYZxyz(26.1588, 20.5670, 86.5785)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972F2 #F2D959
analogous
#59BFF2 #5972F2 #8C59F2
triadic
#5972F2 #F25972 #72F259
tetradic
#5972F2 #F259BF #F2D959 #59F28C
square
#5972F2 #F259BF #F2D959 #59F28C
split-complementary
#5972F2 #F28C59 #BFF259
monochromatic
#0F2CC1 #2042EE #5972F2 #92A2F6 #CBD2FB

Accessibility & contrast

On white

4.11
#5972F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5972F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972F2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972F2#FFFFFF#000000##000000
##5972F21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A84F6
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5972f2;
/* rgb */ color: rgb(89, 114, 242);
/* oklch */ color: oklch(60.2% 0.193 271.1);
Tailwind
colors: {
  custom: {
    50: '#969af7',
    500: '#5972f2',
    950: '#000000',
  },
}
SCSS
$custom: #5972f2;
$custom-light: #969af7;
$custom-dark: #000000;
JSON
{
  "hex": "#5972f2",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 230.196,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.19308,
    "h": 271.1
  },
  "luminance": 0.20569
}

Semantic roles & 50–950 ramp

primary
#5972F2
secondary
#EDE5B9
accent
#BE04E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5972F2

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

Preview Lab → · Contrast checker → · Palette generator →

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