#5848BF#5848BF

#5848BF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.8% C 0.179 H 283.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5848BF
RGBrgb(88, 72, 191)
HSLhsl(248, 48%, 52%)
HSVhsv(248, 62%, 75%)
CMYKcmyk(53.9%, 62.3%, 0%, 25.1%)
CIE-LABlab(38.67, 38.93, -60.52)
CIE-LCHlch(38.67, 71.96, 302.75°)
OKLaboklab(48.76% 0.0423 -0.1737)
OKLCHoklch(48.76% 0.179 283.7)
XYZxyz(15.7430, 10.4701, 50.4715)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848BF #AFBF48
analogous
#4874BF #5848BF #9448BF
triadic
#5848BF #BF5848 #48BF58
tetradic
#5848BF #BF4874 #AFBF48 #48BF94
square
#5848BF #BF4874 #AFBF48 #48BF94
split-complementary
#5848BF #BF9448 #74BF48
monochromatic
#2E2468 #413496 #5848BF #8175CF #ABA3DF

Accessibility & contrast

On white

6.79
#5848BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5848BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848BF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848BF#FFFFFF#000000##FFFFFF
##5848BF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5848bf;
/* rgb */ color: rgb(88, 72, 191);
/* oklch */ color: oklch(48.8% 0.179 283.7);
Tailwind
colors: {
  custom: {
    50: '#907cd3',
    500: '#5848bf',
    950: '#000000',
  },
}
SCSS
$custom: #5848bf;
$custom-light: #907cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5848bf",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 248.067,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.17873,
    "h": 283.7
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5848BF

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

Preview Lab → · Contrast checker → · Palette generator →

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