#5950E3#5950E3

#5950E3 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.215 H 278.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5950E3
RGBrgb(89, 80, 227)
HSLhsl(244, 72%, 60%)
HSVhsv(244, 65%, 89%)
CMYKcmyk(60.8%, 64.8%, 0%, 11%)
CIE-LABlab(43.37, 45.65, -73.60)
CIE-LCHlch(43.37, 86.61, 301.81°)
OKLaboklab(53.09% 0.0332 -0.212)
OKLCHoklch(53.09% 0.215 278.9)
XYZxyz(20.8492, 13.4056, 74.1470)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950E3 #DAE350
analogous
#5091E3 #5950E3 #A250E3
triadic
#5950E3 #E35950 #50E359
tetradic
#5950E3 #E35091 #DAE350 #50E3A2
square
#5950E3 #E35091 #DAE350 #50E3A2
split-complementary
#5950E3 #E3A250 #91E350
monochromatic
#22199F #2D22D4 #5950E3 #8B85EB #BDBAF4

Accessibility & contrast

On white

5.70
#5950E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5950E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950E3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950E3#FFFFFF#000000##FFFFFF
##5950E31.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5950e3;
/* rgb */ color: rgb(89, 80, 227);
/* oklch */ color: oklch(53.1% 0.215 278.9);
Tailwind
colors: {
  custom: {
    50: '#9682ed',
    500: '#5950e3',
    950: '#000000',
  },
}
SCSS
$custom: #5950e3;
$custom-light: #9682ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5950e3",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 243.673,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.2146,
    "h": 278.9
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#5950E3
secondary
#E0E4AB
accent
#D411C9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5950E3

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

Preview Lab → · Contrast checker → · Palette generator →

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