#5949DF#5949DF

#5949DF is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.218 H 280.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5949DF
RGBrgb(89, 73, 223)
HSLhsl(246, 70%, 58%)
HSVhsv(246, 67%, 87%)
CMYKcmyk(60.1%, 67.3%, 0%, 12.5%)
CIE-LABlab(41.56, 48.40, -74.29)
CIE-LCHlch(41.56, 88.66, 303.09°)
OKLaboklab(51.68% 0.0392 -0.214)
OKLCHoklch(51.68% 0.218 280.4)
XYZxyz(19.8174, 12.2152, 71.1112)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949DF #CFDF49
analogous
#4984DF #5949DF #A449DF
triadic
#5949DF #DF5949 #49DF59
tetradic
#5949DF #DF4984 #CFDF49 #49DFA4
square
#5949DF #DF4984 #CFDF49 #49DFA4
split-complementary
#5949DF #DFA449 #84DF49
monochromatic
#271A94 #3523C8 #5949DF #887DE8 #B8B1F1

Accessibility & contrast

On white

6.10
#5949DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5949DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949DF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949DF#FFFFFF#000000##FFFFFF
##5949DF1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5949df;
/* rgb */ color: rgb(89, 73, 223);
/* oklch */ color: oklch(51.7% 0.218 280.4);
Tailwind
colors: {
  custom: {
    50: '#967dea',
    500: '#5949df',
    950: '#000000',
  },
}
SCSS
$custom: #5949df;
$custom-light: #967dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5949df",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 246.4,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.21762,
    "h": 280.4
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#5949DF
secondary
#D9E0A4
accent
#ED3BDA
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5949DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5949DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva