#5A72F9#5A72F9

#5A72F9 is a mid, highly saturated blue. Relative luminance 0.210; OKLCH L 60.7% C 0.202 H 271.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5A72F9
RGBrgb(90, 114, 249)
HSLhsl(231, 93%, 66%)
HSVhsv(231, 64%, 98%)
CMYKcmyk(63.9%, 54.2%, 0%, 2.4%)
CIE-LABlab(53.00, 32.59, -70.27)
CIE-LCHlch(53.00, 77.46, 294.88°)
OKLaboklab(60.73% 0.0052 -0.2019)
OKLCHoklch(60.73% 0.202 271.5)
XYZxyz(27.3269, 21.0454, 92.2262)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72F9 #F9E15A
analogous
#5AC2F9 #5A72F9 #925AF9
triadic
#5A72F9 #F95A72 #72F95A
tetradic
#5A72F9 #F95AC2 #F9E15A #5AF992
square
#5A72F9 #F95AC2 #F9E15A #5AF992
split-complementary
#5A72F9 #F9925A #C2F95A
monochromatic
#0826D1 #1F40F7 #5A72F9 #95A4FB #D0D7FD

Accessibility & contrast

On white

4.03
#5A72F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5A72F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72F9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72F9#FFFFFF#000000##000000
##5A72F91.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FE
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#0092AB
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a72f9;
/* rgb */ color: rgb(90, 114, 249);
/* oklch */ color: oklch(60.7% 0.202 271.5);
Tailwind
colors: {
  custom: {
    50: '#989afc',
    500: '#5a72f9',
    950: '#000000',
  },
}
SCSS
$custom: #5a72f9;
$custom-light: #989afc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72f9",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 230.943,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60732,
    "c": 0.20202,
    "h": 271.5
  },
  "luminance": 0.21048
}

Semantic roles & 50–950 ramp

primary
#5A72F9
secondary
#F1E9BE
accent
#C300E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5A72F9

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

Preview Lab → · Contrast checker → · Palette generator →

#5A72F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva