#5847BE#5847BE

#5847BE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.179 H 284.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5847BE
RGBrgb(88, 71, 190)
HSLhsl(249, 48%, 51%)
HSVhsv(249, 63%, 75%)
CMYKcmyk(53.7%, 62.6%, 0%, 25.5%)
CIE-LABlab(38.37, 39.21, -60.42)
CIE-LCHlch(38.37, 72.03, 302.98°)
OKLaboklab(48.52% 0.0433 -0.1734)
OKLCHoklch(48.52% 0.179 284)
XYZxyz(15.5692, 10.2980, 49.8725)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847BE #ADBE47
analogous
#4771BE #5847BE #9347BE
triadic
#5847BE #BE5847 #47BE58
tetradic
#5847BE #BE4771 #ADBE47 #47BE93
square
#5847BE #BE4771 #ADBE47 #47BE93
split-complementary
#5847BE #BE9347 #71BE47
monochromatic
#2E2466 #423494 #5847BE #8174CE #AAA1DE

Accessibility & contrast

On white

6.86
#5847BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5847BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847BE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847BE#FFFFFF#000000##FFFFFF
##5847BE1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#2C647C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5847be;
/* rgb */ color: rgb(88, 71, 190);
/* oklch */ color: oklch(48.5% 0.179 284.0);
Tailwind
colors: {
  custom: {
    50: '#907bd2',
    500: '#5847be',
    950: '#000000',
  },
}
SCSS
$custom: #5847be;
$custom-light: #907bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5847be",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 248.571,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48519,
    "c": 0.17871,
    "h": 284
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

primary
#5847BE
secondary
#C3CB96
accent
#D750C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5847BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5847BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva