#5C5BB0#5C5BB0

#5C5BB0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.131 H 281.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5C5BB0
RGBrgb(92, 91, 176)
HSLhsl(241, 35%, 52%)
HSVhsv(241, 48%, 69%)
CMYKcmyk(47.7%, 48.3%, 0%, 31%)
CIE-LABlab(42.60, 23.43, -45.37)
CIE-LCHlch(42.60, 51.07, 297.31°)
OKLaboklab(51.44% 0.0257 -0.1289)
OKLCHoklch(51.44% 0.131 281.3)
XYZxyz(15.9888, 12.8913, 42.7117)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BB0 #AFB05B
analogous
#5B84B0 #5C5BB0 #875BB0
triadic
#5C5BB0 #B05C5B #5BB05C
tetradic
#5C5BB0 #B05B84 #AFB05B #5BB087
square
#5C5BB0 #B05B84 #AFB05B #5BB087
split-complementary
#5C5BB0 #B0875B #84B05B
monochromatic
#302F62 #44438B #5C5BB0 #8584C4 #AEAED8

Accessibility & contrast

On white

5.87
#5C5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5C5BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5BB0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5BB0#FFFFFF#000000##FFFFFF
##5C5BB01.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B3
Deuteranopia (green-blind)
#3162AE
Tritanopia (blue-blind)
#3E6D7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c5bb0;
/* rgb */ color: rgb(92, 91, 176);
/* oklch */ color: oklch(51.4% 0.131 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f89c8',
    500: '#5c5bb0',
    950: '#000000',
  },
}
SCSS
$custom: #5c5bb0;
$custom-light: #8f89c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5bb0",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 240.706,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.13144,
    "h": 281.3
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#5C5BB0
secondary
#C5C6A1
accent
#CB5DCA
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5C5BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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