#5949BB#5949BB

#5949BB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.7% C 0.172 H 284.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5949BB
RGBrgb(89, 73, 187)
HSLhsl(248, 46%, 51%)
HSVhsv(248, 61%, 73%)
CMYKcmyk(52.4%, 61%, 0%, 26.7%)
CIE-LABlab(38.68, 37.29, -58.16)
CIE-LCHlch(38.68, 69.08, 302.67°)
OKLaboklab(48.7% 0.0428 -0.1667)
OKLCHoklch(48.7% 0.172 284.4)
XYZxyz(15.4693, 10.4760, 48.2110)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949BB #ABBB49
analogous
#4972BB #5949BB #9249BB
triadic
#5949BB #BB5949 #49BB59
tetradic
#5949BB #BB4972 #ABBB49 #49BB92
square
#5949BB #BB4972 #ABBB49 #49BB92
split-complementary
#5949BB #BB9249 #72BB49
monochromatic
#2E2564 #433691 #5949BB #8276CC #AAA2DC

Accessibility & contrast

On white

6.78
#5949BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5949BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949BB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949BB#FFFFFF#000000##FFFFFF
##5949BB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#32647B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5949bb;
/* rgb */ color: rgb(89, 73, 187);
/* oklch */ color: oklch(48.7% 0.172 284.4);
Tailwind
colors: {
  custom: {
    50: '#907cd0',
    500: '#5949bb',
    950: '#000000',
  },
}
SCSS
$custom: #5949bb;
$custom-light: #907cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5949bb",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 248.421,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48697,
    "c": 0.17209,
    "h": 284.4
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#5949BB
secondary
#C2C997
accent
#D553C3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5949BB

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

Preview Lab → · Contrast checker → · Palette generator →

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