#5B61BA#5B61BA

#5B61BA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.138 H 277.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5B61BA
RGBrgb(91, 97, 186)
HSLhsl(236, 41%, 54%)
HSVhsv(236, 51%, 73%)
CMYKcmyk(51.1%, 47.8%, 0%, 27.1%)
CIE-LABlab(44.69, 22.60, -47.89)
CIE-LCHlch(44.69, 52.95, 295.26°)
OKLaboklab(53.19% 0.0185 -0.1363)
OKLCHoklch(53.19% 0.138 277.7)
XYZxyz(17.4492, 14.3177, 48.2890)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61BA #BAB45B
analogous
#5B90BA #5B61BA #855BBA
triadic
#5B61BA #BA5B61 #61BA5B
tetradic
#5B61BA #BA5B90 #BAB45B #5BBA85
square
#5B61BA #BA5B90 #BAB45B #5BBA85
split-complementary
#5B61BA #BA855B #90BA5B
monochromatic
#2E326D #404598 #5B61BA #868BCC #B1B4DE

Accessibility & contrast

On white

5.44
#5B61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5B61BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B61BA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61BA#FFFFFF#000000##FFFFFF
##5B61BA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#347484
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b61ba;
/* rgb */ color: rgb(91, 97, 186);
/* oklch */ color: oklch(53.2% 0.138 277.7);
Tailwind
colors: {
  custom: {
    50: '#908dcf',
    500: '#5b61ba',
    950: '#000000',
  },
}
SCSS
$custom: #5b61ba;
$custom-light: #908dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61ba",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 236.211,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53188,
    "c": 0.13753,
    "h": 277.7
  },
  "luminance": 0.14319
}

Semantic roles & 50–950 ramp

primary
#5B61BA
secondary
#CDCAA4
accent
#C957D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5B61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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