#5948DA#5948DA

#5948DA is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.213 H 281.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5948DA
RGBrgb(89, 72, 218)
HSLhsl(247, 66%, 57%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(59.2%, 67%, 0%, 14.5%)
CIE-LABlab(40.93, 47.43, -72.46)
CIE-LCHlch(40.93, 86.60, 303.21°)
OKLaboklab(51.09% 0.0407 -0.2087)
OKLCHoklch(51.09% 0.213 281)
XYZxyz(19.0881, 11.8192, 67.5915)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5948DA #C9DA48
analogous
#4880DA #5948DA #A248DA
triadic
#5948DA #DA5948 #48DA59
tetradic
#5948DA #DA4880 #C9DA48 #48DAA2
square
#5948DA #DA4880 #C9DA48 #48DAA2
split-complementary
#5948DA #DAA248 #80DA48
monochromatic
#291C8B #3826BE #5948DA #877BE4 #B5AEEF

Accessibility & contrast

On white

6.24
#5948DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5948DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5948DA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5948DA#FFFFFF#000000##FFFFFF
##5948DA1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5948da;
/* rgb */ color: rgb(89, 72, 218);
/* oklch */ color: oklch(51.1% 0.213 281.0);
Tailwind
colors: {
  custom: {
    50: '#957ce7',
    500: '#5948da',
    950: '#000000',
  },
}
SCSS
$custom: #5948da;
$custom-light: #957ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5948da",
  "rgb": {
    "r": 89,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 246.986,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.21263,
    "h": 281
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#5948DA
secondary
#D6DDA1
accent
#E93FD5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5948DA

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

Preview Lab → · Contrast checker → · Palette generator →

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