#5948D6#5948D6

#5948D6 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.208 H 281.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5948D6
RGBrgb(89, 72, 214)
HSLhsl(247, 63%, 56%)
HSVhsv(247, 66%, 84%)
CMYKcmyk(58.4%, 66.4%, 0%, 16.1%)
CIE-LABlab(40.59, 46.20, -70.71)
CIE-LCHlch(40.59, 84.47, 303.16°)
OKLaboklab(50.75% 0.0413 -0.2036)
OKLCHoklch(50.75% 0.208 281.5)
XYZxyz(18.5710, 11.6124, 64.8681)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5948D6 #C5D648
analogous
#487ED6 #5948D6 #A048D6
triadic
#5948D6 #D65948 #48D659
tetradic
#5948D6 #D6487E #C5D648 #48D6A0
square
#5948D6 #D6487E #C5D648 #48D6A0
split-complementary
#5948D6 #D6A048 #7ED648
monochromatic
#2A1E86 #3A29B8 #5948D6 #867AE1 #B4ACEC

Accessibility & contrast

On white

6.32
#5948D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5948D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5948D6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5948D6#FFFFFF#000000##FFFFFF
##5948D61.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#005BD3
Tritanopia (blue-blind)
#016D89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5948d6;
/* rgb */ color: rgb(89, 72, 214);
/* oklch */ color: oklch(50.7% 0.208 281.5);
Tailwind
colors: {
  custom: {
    50: '#947ce4',
    500: '#5948d6',
    950: '#000000',
  },
}
SCSS
$custom: #5948d6;
$custom-light: #947ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#5948d6",
  "rgb": {
    "r": 89,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 247.183,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.20771,
    "h": 281.5
  },
  "luminance": 0.11614
}

Semantic roles & 50–950 ramp

primary
#5948D6
secondary
#D3DAA0
accent
#E641D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5948D6

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

Preview Lab → · Contrast checker → · Palette generator →

#5948D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva