#5950B2#5950B2

#5950B2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.150 H 283.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5950B2
RGBrgb(89, 80, 178)
HSLhsl(246, 39%, 51%)
HSVhsv(246, 55%, 70%)
CMYKcmyk(50%, 55.1%, 0%, 30.2%)
CIE-LABlab(39.71, 30.22, -51.21)
CIE-LCHlch(39.71, 59.46, 300.55°)
OKLaboklab(49.25% 0.0352 -0.1462)
OKLCHoklch(49.25% 0.15 283.5)
XYZxyz(15.0220, 11.0748, 43.4570)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950B2 #A9B250
analogous
#5078B2 #5950B2 #8A50B2
triadic
#5950B2 #B25950 #50B259
tetradic
#5950B2 #B25078 #A9B250 #50B28A
square
#5950B2 #B25078 #A9B250 #50B28A
split-complementary
#5950B2 #B28A50 #78B250
monochromatic
#2E295E #433C89 #5950B2 #817AC5 #AAA5D7

Accessibility & contrast

On white

6.53
#5950B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5950B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950B2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950B2#FFFFFF#000000##FFFFFF
##5950B21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B5
Deuteranopia (green-blind)
#0E5AB0
Tritanopia (blue-blind)
#386679
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5950b2;
/* rgb */ color: rgb(89, 80, 178);
/* oklch */ color: oklch(49.2% 0.150 283.5);
Tailwind
colors: {
  custom: {
    50: '#8e81ca',
    500: '#5950b2',
    950: '#000000',
  },
}
SCSS
$custom: #5950b2;
$custom-light: #8e81ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5950b2",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 245.51,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.15038,
    "h": 283.5
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#5950B2
secondary
#C1C599
accent
#CF59C4
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5950B2

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

Preview Lab → · Contrast checker → · Palette generator →

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