#5A50BB#5A50BB

#5A50BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.163 H 283.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5A50BB
RGBrgb(90, 80, 187)
HSLhsl(246, 44%, 52%)
HSVhsv(246, 57%, 73%)
CMYKcmyk(51.9%, 57.2%, 0%, 26.7%)
CIE-LABlab(40.41, 33.24, -55.36)
CIE-LCHlch(40.41, 64.57, 300.98°)
OKLaboklab(49.99% 0.0366 -0.1584)
OKLCHoklch(49.99% 0.163 283)
XYZxyz(16.0520, 11.4980, 48.3776)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50BB #B1BB50
analogous
#507CBB #5A50BB #8F50BB
triadic
#5A50BB #BB5A50 #50BB5A
tetradic
#5A50BB #BB507C #B1BB50 #50BB8F
square
#5A50BB #BB507C #B1BB50 #50BB8F
split-complementary
#5A50BB #BB8F50 #7CBB50
monochromatic
#2E2868 #423A94 #5A50BB #847CCC #ADA8DD

Accessibility & contrast

On white

6.36
#5A50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5A50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50BB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50BB#FFFFFF#000000##FFFFFF
##5A50BB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#33697E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a50bb;
/* rgb */ color: rgb(90, 80, 187);
/* oklch */ color: oklch(50.0% 0.163 283.0);
Tailwind
colors: {
  custom: {
    50: '#9081d0',
    500: '#5a50bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a50bb;
$custom-light: #9081d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50bb",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 245.607,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.16257,
    "h": 283
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#5A50BB
secondary
#C6CB9C
accent
#D454C8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5A50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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