#5949CF#5949CF

#5949CF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.3% C 0.198 H 282.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5949CF
RGBrgb(89, 73, 207)
HSLhsl(247, 58%, 55%)
HSVhsv(247, 65%, 81%)
CMYKcmyk(57%, 64.7%, 0%, 18.8%)
CIE-LABlab(40.23, 43.47, -67.27)
CIE-LCHlch(40.23, 80.09, 302.87°)
OKLaboklab(50.31% 0.0412 -0.1935)
OKLCHoklch(50.31% 0.198 282)
XYZxyz(17.7614, 11.3928, 60.2825)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949CF #BFCF49
analogous
#497CCF #5949CF #9C49CF
triadic
#5949CF #CF5949 #49CF59
tetradic
#5949CF #CF497C #BFCF49 #49CF9C
square
#5949CF #CF497C #BFCF49 #49CF9C
split-complementary
#5949CF #CF9C49 #7CCF49
monochromatic
#2C217D #3D2EAD #5949CF #8579DC #B1AAE9

Accessibility & contrast

On white

6.40
#5949CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5949CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949CF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949CF#FFFFFF#000000##FFFFFF
##5949CF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#176B85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5949cf;
/* rgb */ color: rgb(89, 73, 207);
/* oklch */ color: oklch(50.3% 0.198 282.0);
Tailwind
colors: {
  custom: {
    50: '#937ddf',
    500: '#5949cf',
    950: '#000000',
  },
}
SCSS
$custom: #5949cf;
$custom-light: #937ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5949cf",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 247.164,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50312,
    "c": 0.1978,
    "h": 282
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#5949CF
secondary
#CFD69E
accent
#E146CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5949CF

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

Preview Lab → · Contrast checker → · Palette generator →

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