#5A5BBD#5A5BBD

#5A5BBD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.150 H 279.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5A5BBD
RGBrgb(90, 91, 189)
HSLhsl(239, 43%, 55%)
HSVhsv(239, 52%, 74%)
CMYKcmyk(52.4%, 51.9%, 0%, 25.9%)
CIE-LABlab(43.25, 27.08, -51.93)
CIE-LCHlch(43.25, 58.57, 297.54°)
OKLaboklab(52.15% 0.0245 -0.1482)
OKLCHoklch(52.15% 0.15 279.4)
XYZxyz(17.1400, 13.3289, 49.8038)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5BBD #BDBC5A
analogous
#5A8DBD #5A5BBD #8B5ABD
triadic
#5A5BBD #BD5A5B #5BBD5A
tetradic
#5A5BBD #BD5A8D #BDBC5A #5ABD8B
square
#5A5BBD #BD5A8D #BDBC5A #5ABD8B
split-complementary
#5A5BBD #BD8B5A #8DBD5A
monochromatic
#2D2D70 #3E3F9C #5A5BBD #8686CE #B1B2E0

Accessibility & contrast

On white

5.73
#5A5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5A5BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5BBD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5BBD#FFFFFF#000000##FFFFFF
##5A5BBD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#1C62BB
Tritanopia (blue-blind)
#307183
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a5bbd;
/* rgb */ color: rgb(90, 91, 189);
/* oklch */ color: oklch(52.2% 0.150 279.4);
Tailwind
colors: {
  custom: {
    50: '#9089d1',
    500: '#5a5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5a5bbd;
$custom-light: #9089d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5bbd",
  "rgb": {
    "r": 90,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 239.394,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.15025,
    "h": 279.4
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#5A5BBD
secondary
#CECEA5
accent
#D155D3
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5A5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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