#5B60A2#5B60A2

#5B60A2 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.5% C 0.104 H 278.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5B60A2
RGBrgb(91, 96, 162)
HSLhsl(236, 28%, 50%)
HSVhsv(236, 44%, 64%)
CMYKcmyk(43.8%, 40.7%, 0%, 36.5%)
CIE-LABlab(43.06, 15.73, -36.38)
CIE-LCHlch(43.06, 39.64, 293.39°)
OKLaboklab(51.51% 0.0159 -0.1026)
OKLCHoklch(51.51% 0.104 278.8)
XYZxyz(15.0169, 13.1978, 35.9316)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60A2 #A29D5B
analogous
#5B83A2 #5B60A2 #7A5BA2
triadic
#5B60A2 #A25B60 #60A25B
tetradic
#5B60A2 #A25B83 #A29D5B #5BA27A
square
#5B60A2 #A25B83 #A29D5B #5BA27A
split-complementary
#5B60A2 #A27A5B #83A25B
monochromatic
#2F3254 #45497B #5B60A2 #8285B9 #A9ABCF

Accessibility & contrast

On white

5.77
#5B60A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5B60A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60A2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60A2#FFFFFF#000000##FFFFFF
##5B60A21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#446D79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5b60a2;
/* rgb */ color: rgb(91, 96, 162);
/* oklch */ color: oklch(51.5% 0.104 278.8);
Tailwind
colors: {
  custom: {
    50: '#8d8dbe',
    500: '#5b60a2',
    950: '#000000',
  },
}
SCSS
$custom: #5b60a2;
$custom-light: #8d8dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60a2",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 162
  },
  "hsl": {
    "h": 235.775,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.10381,
    "h": 278.8
  },
  "luminance": 0.13199
}

Semantic roles & 50–950 ramp

primary
#5B60A2
secondary
#BDBA9C
accent
#BE63C4
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5B60A2

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

Preview Lab → · Contrast checker → · Palette generator →

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