#5950F3#5950F3

#5950F3 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.5% C 0.234 H 277.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5950F3
RGBrgb(89, 80, 243)
HSLhsl(243, 87%, 63%)
HSVhsv(243, 67%, 95%)
CMYKcmyk(63.4%, 67.1%, 0%, 4.7%)
CIE-LABlab(44.70, 50.65, -80.44)
CIE-LCHlch(44.70, 95.06, 302.20°)
OKLaboklab(54.47% 0.0313 -0.2321)
OKLCHoklch(54.47% 0.234 277.7)
XYZxyz(23.1609, 14.3303, 86.3221)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950F3 #EAF350
analogous
#5098F3 #5950F3 #AA50F3
triadic
#5950F3 #F35950 #50F359
tetradic
#5950F3 #F35098 #EAF350 #50F3AA
square
#5950F3 #F35098 #EAF350 #50F3AA
split-complementary
#5950F3 #F3AA50 #98F350
monochromatic
#170DBC #2317EF #5950F3 #8F89F7 #C6C3FB

Accessibility & contrast

On white

5.43
#5950F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5950F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950F3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950F3#FFFFFF#000000##FFFFFF
##5950F31.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F8
Deuteranopia (green-blind)
#0063F0
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5950f3;
/* rgb */ color: rgb(89, 80, 243);
/* oklch */ color: oklch(54.5% 0.234 277.7);
Tailwind
colors: {
  custom: {
    50: '#9982f8',
    500: '#5950f3',
    950: '#000000',
  },
}
SCSS
$custom: #5950f3;
$custom-light: #9982f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5950f3",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 243
  },
  "hsl": {
    "h": 243.313,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.23419,
    "h": 277.7
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#5950F3
secondary
#E9ECB2
accent
#E402D7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5950F3

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

Preview Lab → · Contrast checker → · Palette generator →

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