#5846BF#5846BF

#5846BF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.181 H 284.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5846BF
RGBrgb(88, 70, 191)
HSLhsl(249, 49%, 51%)
HSVhsv(249, 63%, 75%)
CMYKcmyk(53.9%, 63.4%, 0%, 25.1%)
CIE-LABlab(38.23, 40.11, -61.25)
CIE-LCHlch(38.23, 73.21, 303.22°)
OKLaboklab(48.44% 0.0442 -0.1758)
OKLCHoklch(48.44% 0.181 284.1)
XYZxyz(15.6158, 10.2157, 50.4291)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846BF #ADBF46
analogous
#4670BF #5846BF #9446BF
triadic
#5846BF #BF5846 #46BF58
tetradic
#5846BF #BF4670 #ADBF46 #46BF94
square
#5846BF #BF4670 #ADBF46 #46BF94
split-complementary
#5846BF #BF9446 #70BF46
monochromatic
#2E2467 #423394 #5846BF #8173CF #AAA1DE

Accessibility & contrast

On white

6.90
#5846BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5846BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846BF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846BF#FFFFFF#000000##FFFFFF
##5846BF1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5846bf;
/* rgb */ color: rgb(88, 70, 191);
/* oklch */ color: oklch(48.4% 0.181 284.1);
Tailwind
colors: {
  custom: {
    50: '#907ad3',
    500: '#5846bf',
    950: '#000000',
  },
}
SCSS
$custom: #5846bf;
$custom-light: #907ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5846bf",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 248.926,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.18128,
    "h": 284.1
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#5846BF
secondary
#C3CB96
accent
#D850C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5846BF

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

Preview Lab → · Contrast checker → · Palette generator →

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