#5950BB#5950BB

#5950BB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.163 H 282.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5950BB
RGBrgb(89, 80, 187)
HSLhsl(245, 44%, 52%)
HSVhsv(245, 57%, 73%)
CMYKcmyk(52.4%, 57.2%, 0%, 26.7%)
CIE-LABlab(40.33, 33.04, -55.50)
CIE-LCHlch(40.33, 64.59, 300.77°)
OKLaboklab(49.91% 0.0354 -0.1588)
OKLCHoklch(49.91% 0.163 282.6)
XYZxyz(15.9554, 11.4481, 48.3730)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950BB #B2BB50
analogous
#507CBB #5950BB #8F50BB
triadic
#5950BB #BB5950 #50BB59
tetradic
#5950BB #BB507C #B2BB50 #50BB8F
square
#5950BB #BB507C #B2BB50 #50BB8F
split-complementary
#5950BB #BB8F50 #7CBB50
monochromatic
#2E2868 #413A94 #5950BB #837CCC #ADA8DD

Accessibility & contrast

On white

6.38
#5950BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5950BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950BB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950BB#FFFFFF#000000##FFFFFF
##5950BB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5950bb;
/* rgb */ color: rgb(89, 80, 187);
/* oklch */ color: oklch(49.9% 0.163 282.6);
Tailwind
colors: {
  custom: {
    50: '#9081d0',
    500: '#5950bb',
    950: '#000000',
  },
}
SCSS
$custom: #5950bb;
$custom-light: #9081d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5950bb",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 245.047,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.16271,
    "h": 282.6
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#5950BB
secondary
#C7CB9C
accent
#D454C9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5950BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5950BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva