#5A5BBF#5A5BBF

#5A5BBF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.153 H 279.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5A5BBF
RGBrgb(90, 91, 191)
HSLhsl(239, 44%, 55%)
HSVhsv(239, 53%, 75%)
CMYKcmyk(52.9%, 52.4%, 0%, 25.1%)
CIE-LABlab(43.38, 27.71, -52.89)
CIE-LCHlch(43.38, 59.71, 297.65°)
OKLaboklab(52.29% 0.0247 -0.151)
OKLCHoklch(52.29% 0.153 279.3)
XYZxyz(17.3586, 13.4164, 50.9550)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5BBF #BFBE5A
analogous
#5A8DBF #5A5BBF #8B5ABF
triadic
#5A5BBF #BF5A5B #5BBF5A
tetradic
#5A5BBF #BF5A8D #BFBE5A #5ABF8B
square
#5A5BBF #BF5A8D #BFBE5A #5ABF8B
split-complementary
#5A5BBF #BF8B5A #8DBF5A
monochromatic
#2C2D72 #3D3E9E #5A5BBF #8687D0 #B2B3E1

Accessibility & contrast

On white

5.70
#5A5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5A5BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5BBF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5BBF#FFFFFF#000000##FFFFFF
##5A5BBF1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#1763BD
Tritanopia (blue-blind)
#2E7184
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a5bbf;
/* rgb */ color: rgb(90, 91, 191);
/* oklch */ color: oklch(52.3% 0.153 279.3);
Tailwind
colors: {
  custom: {
    50: '#9089d3',
    500: '#5a5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5a5bbf;
$custom-light: #9089d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5bbf",
  "rgb": {
    "r": 90,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 239.406,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.15305,
    "h": 279.3
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#5A5BBF
secondary
#D0CFA5
accent
#D354D4
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5A5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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