#5948BD#5948BD

#5948BD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.176 H 284.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5948BD
RGBrgb(89, 72, 189)
HSLhsl(249, 47%, 51%)
HSVhsv(249, 62%, 74%)
CMYKcmyk(52.9%, 61.9%, 0%, 25.9%)
CIE-LABlab(38.61, 38.50, -59.45)
CIE-LCHlch(38.61, 70.83, 302.93°)
OKLaboklab(48.69% 0.0437 -0.1705)
OKLCHoklch(48.69% 0.176 284.4)
XYZxyz(15.6197, 10.4318, 49.3247)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5948BD #ACBD48
analogous
#4871BD #5948BD #9348BD
triadic
#5948BD #BD5948 #48BD59
tetradic
#5948BD #BD4871 #ACBD48 #48BD93
square
#5948BD #BD4871 #ACBD48 #48BD93
split-complementary
#5948BD #BD9348 #71BD48
monochromatic
#2E2566 #433593 #5948BD #8275CD #ABA2DD

Accessibility & contrast

On white

6.80
#5948BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5948BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5948BD
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5948BD#FFFFFF#000000##FFFFFF
##5948BD1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#30647C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5948bd;
/* rgb */ color: rgb(89, 72, 189);
/* oklch */ color: oklch(48.7% 0.176 284.4);
Tailwind
colors: {
  custom: {
    50: '#907cd2',
    500: '#5948bd',
    950: '#000000',
  },
}
SCSS
$custom: #5948bd;
$custom-light: #907cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5948bd",
  "rgb": {
    "r": 89,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 248.718,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48688,
    "c": 0.176,
    "h": 284.4
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#5948BD
secondary
#C3CA97
accent
#D751C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5948BD

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

Preview Lab → · Contrast checker → · Palette generator →

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