#5A5BF3#5A5BF3

#5A5BF3 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.3% C 0.222 H 276.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5A5BF3
RGBrgb(90, 91, 243)
HSLhsl(240, 86%, 65%)
HSVhsv(240, 63%, 95%)
CMYKcmyk(63%, 62.6%, 0%, 4.7%)
CIE-LABlab(47.14, 44.45, -76.46)
CIE-LCHlch(47.14, 88.44, 300.17°)
OKLaboklab(56.25% 0.0243 -0.2203)
OKLCHoklch(56.25% 0.222 276.3)
XYZxyz(24.1299, 16.1249, 86.6175)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5BF3 #F3F25A
analogous
#5AA7F3 #5A5BF3 #A65AF3
triadic
#5A5BF3 #F35A5B #5BF35A
tetradic
#5A5BF3 #F35AA7 #F3F25A #5AF3A6
square
#5A5BF3 #F35AA7 #F3F25A #5AF3A6
split-complementary
#5A5BF3 #F3A65A #A7F35A
monochromatic
#0E0FC4 #2122EF #5A5BF3 #9394F7 #CCCCFB

Accessibility & contrast

On white

4.97
#5A5BF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5A5BF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5BF3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5BF3#FFFFFF#000000##FFFFFF
##5A5BF31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#0069F0
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a5bf3;
/* rgb */ color: rgb(90, 91, 243);
/* oklch */ color: oklch(56.3% 0.222 276.3);
Tailwind
colors: {
  custom: {
    50: '#988af8',
    500: '#5a5bf3',
    950: '#000000',
  },
}
SCSS
$custom: #5a5bf3;
$custom-light: #988af8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5bf3",
  "rgb": {
    "r": 90,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 239.608,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.22168,
    "h": 276.3
  },
  "luminance": 0.16127
}

Semantic roles & 50–950 ramp

primary
#5A5BF3
secondary
#EEEEBB
accent
#E203E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A5BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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