#5849BF#5849BF

#5849BF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.9% C 0.177 H 283.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5849BF
RGBrgb(88, 73, 191)
HSLhsl(248, 48%, 52%)
HSVhsv(248, 62%, 75%)
CMYKcmyk(53.9%, 61.8%, 0%, 25.1%)
CIE-LABlab(38.90, 38.33, -60.15)
CIE-LCHlch(38.90, 71.33, 302.51°)
OKLaboklab(48.93% 0.0413 -0.1726)
OKLCHoklch(48.93% 0.177 283.4)
XYZxyz(15.8082, 10.6005, 50.4932)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5849BF #B0BF49
analogous
#4975BF #5849BF #9349BF
triadic
#5849BF #BF5849 #49BF58
tetradic
#5849BF #BF4975 #B0BF49 #49BF93
square
#5849BF #BF4975 #B0BF49 #49BF93
split-complementary
#5849BF #BF9349 #75BF49
monochromatic
#2D2569 #413596 #5849BF #8276CF #ABA4DF

Accessibility & contrast

On white

6.73
#5849BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5849BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5849BF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5849BF#FFFFFF#000000##FFFFFF
##5849BF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5849bf;
/* rgb */ color: rgb(88, 73, 191);
/* oklch */ color: oklch(48.9% 0.177 283.4);
Tailwind
colors: {
  custom: {
    50: '#907cd3',
    500: '#5849bf',
    950: '#000000',
  },
}
SCSS
$custom: #5849bf;
$custom-light: #907cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5849bf",
  "rgb": {
    "r": 88,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 247.627,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.17745,
    "h": 283.4
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#5849BF
secondary
#C5CC98
accent
#D850C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5849BF

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

Preview Lab → · Contrast checker → · Palette generator →

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