#5A5BFD#5A5BFD

#5A5BFD is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.1% C 0.234 H 275.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5A5BFD
RGBrgb(90, 91, 253)
HSLhsl(240, 98%, 67%)
HSVhsv(240, 64%, 99%)
CMYKcmyk(64.4%, 64%, 0%, 0.8%)
CIE-LABlab(47.94, 47.65, -80.73)
CIE-LCHlch(47.94, 93.74, 300.55°)
OKLaboklab(57.08% 0.0235 -0.2329)
OKLCHoklch(57.08% 0.234 275.8)
XYZxyz(25.6813, 16.7455, 94.7883)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5BFD #FDFC5A
analogous
#5AACFD #5A5BFD #AB5AFD
triadic
#5A5BFD #FD5A5B #5BFD5A
tetradic
#5A5BFD #FD5AAC #FDFC5A #5AFDAB
square
#5A5BFD #FD5AAC #FDFC5A #5AFDAB
split-complementary
#5A5BFD #FDAB5A #ACFD5A
monochromatic
#0304DA #1E1FFC #5A5BFD #9697FE #D3D3FE

Accessibility & contrast

On white

4.83
#5A5BFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5A5BFD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5BFD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5BFD#FFFFFF#000000##FFFFFF
##5A5BFD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006AFA
Tritanopia (blue-blind)
#0085A4
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a5bfd;
/* rgb */ color: rgb(90, 91, 253);
/* oklch */ color: oklch(57.1% 0.234 275.8);
Tailwind
colors: {
  custom: {
    50: '#9a8aff',
    500: '#5a5bfd',
    950: '#000000',
  },
}
SCSS
$custom: #5a5bfd;
$custom-light: #9a8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5bfd",
  "rgb": {
    "r": 90,
    "g": 91,
    "b": 253
  },
  "hsl": {
    "h": 239.632,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.23406,
    "h": 275.8
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#5A5BFD
secondary
#F3F3C0
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5A5BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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