#5949BF#5949BF

#5949BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.177 H 283.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5949BF
RGBrgb(89, 73, 191)
HSLhsl(248, 48%, 52%)
HSVhsv(248, 62%, 75%)
CMYKcmyk(53.4%, 61.8%, 0%, 25.1%)
CIE-LABlab(38.98, 38.52, -60.01)
CIE-LCHlch(38.98, 71.31, 302.70°)
OKLaboklab(49.01% 0.0426 -0.1721)
OKLCHoklch(49.01% 0.177 283.9)
XYZxyz(15.9035, 10.6496, 50.4977)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949BF #AFBF49
analogous
#4974BF #5949BF #9449BF
triadic
#5949BF #BF5949 #49BF59
tetradic
#5949BF #BF4974 #AFBF49 #49BF94
square
#5949BF #BF4974 #AFBF49 #49BF94
split-complementary
#5949BF #BF9449 #74BF49
monochromatic
#2E2569 #423596 #5949BF #8276CF #ACA4DF

Accessibility & contrast

On white

6.71
#5949BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5949BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949BF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949BF#FFFFFF#000000##FFFFFF
##5949BF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#2E657D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5949bf;
/* rgb */ color: rgb(89, 73, 191);
/* oklch */ color: oklch(49.0% 0.177 283.9);
Tailwind
colors: {
  custom: {
    50: '#917cd3',
    500: '#5949bf',
    950: '#000000',
  },
}
SCSS
$custom: #5949bf;
$custom-light: #917cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5949bf",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 248.136,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49011,
    "c": 0.17732,
    "h": 283.9
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#5949BF
secondary
#C5CC98
accent
#D850C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5949BF

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

Preview Lab → · Contrast checker → · Palette generator →

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