#5846BB#5846BB

#5846BB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.1% C 0.176 H 284.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5846BB
RGBrgb(88, 70, 187)
HSLhsl(249, 46%, 50%)
HSVhsv(249, 63%, 73%)
CMYKcmyk(52.9%, 62.6%, 0%, 26.7%)
CIE-LABlab(37.92, 38.88, -59.40)
CIE-LCHlch(37.92, 71.00, 303.21°)
OKLaboklab(48.12% 0.0446 -0.1704)
OKLCHoklch(48.12% 0.176 284.7)
XYZxyz(15.1816, 10.0421, 48.1424)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846BB #A9BB46
analogous
#466EBB #5846BB #9346BB
triadic
#5846BB #BB5846 #46BB58
tetradic
#5846BB #BB466E #A9BB46 #46BB93
square
#5846BB #BB466E #A9BB46 #46BB93
split-complementary
#5846BB #BB9346 #6EBB46
monochromatic
#2E2462 #43358F #5846BB #8073CB #A9A0DC

Accessibility & contrast

On white

6.98
#5846BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5846BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846BB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846BB#FFFFFF#000000##FFFFFF
##5846BB1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#2F627A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5846bb;
/* rgb */ color: rgb(88, 70, 187);
/* oklch */ color: oklch(48.1% 0.176 284.7);
Tailwind
colors: {
  custom: {
    50: '#907ad0',
    500: '#5846bb',
    950: '#000000',
  },
}
SCSS
$custom: #5846bb;
$custom-light: #907ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5846bb",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 249.231,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48116,
    "c": 0.17612,
    "h": 284.7
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#5846BB
secondary
#C0C894
accent
#D652C2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5846BB

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

Preview Lab → · Contrast checker → · Palette generator →

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