#5A71F9#5A71F9

#5A71F9 is a mid, highly saturated blue. Relative luminance 0.208; OKLCH L 60.5% C 0.203 H 271.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5A71F9
RGBrgb(90, 113, 249)
HSLhsl(231, 93%, 66%)
HSVhsv(231, 64%, 98%)
CMYKcmyk(63.9%, 54.6%, 0%, 2.4%)
CIE-LABlab(52.75, 33.20, -70.67)
CIE-LCHlch(52.75, 78.08, 295.17°)
OKLaboklab(60.55% 0.0061 -0.2031)
OKLCHoklch(60.55% 0.203 271.7)
XYZxyz(27.2147, 20.8211, 92.1888)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A71F9 #F9E25A
analogous
#5AC1F9 #5A71F9 #935AF9
triadic
#5A71F9 #F95A71 #71F95A
tetradic
#5A71F9 #F95AC1 #F9E25A #5AF993
square
#5A71F9 #F95AC1 #F9E25A #5AF993
split-complementary
#5A71F9 #F9935A #C1F95A
monochromatic
#0825D1 #1F3EF7 #5A71F9 #95A4FB #D0D7FD

Accessibility & contrast

On white

4.07
#5A71F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5A71F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A71F9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A71F9#FFFFFF#000000##000000
##5A71F91.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#0077F6
Tritanopia (blue-blind)
#0092AA
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a71f9;
/* rgb */ color: rgb(90, 113, 249);
/* oklch */ color: oklch(60.5% 0.203 271.7);
Tailwind
colors: {
  custom: {
    50: '#9899fc',
    500: '#5a71f9',
    950: '#000000',
  },
}
SCSS
$custom: #5a71f9;
$custom-light: #9899fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a71f9",
  "rgb": {
    "r": 90,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 231.321,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60548,
    "c": 0.20322,
    "h": 271.7
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#5A71F9
secondary
#F1EABE
accent
#C400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5A71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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