#5848BC#5848BC

#5848BC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.175 H 284.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5848BC
RGBrgb(88, 72, 188)
HSLhsl(248, 46%, 51%)
HSVhsv(248, 62%, 74%)
CMYKcmyk(53.2%, 61.7%, 0%, 26.3%)
CIE-LABlab(38.44, 38.00, -59.13)
CIE-LCHlch(38.44, 70.29, 302.73°)
OKLaboklab(48.53% 0.0425 -0.1696)
OKLCHoklch(48.53% 0.175 284.1)
XYZxyz(15.4162, 10.3394, 48.7506)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848BC #ACBC48
analogous
#4872BC #5848BC #9248BC
triadic
#5848BC #BC5848 #48BC58
tetradic
#5848BC #BC4872 #ACBC48 #48BC92
square
#5848BC #BC4872 #ACBC48 #48BC92
split-complementary
#5848BC #BC9248 #72BC48
monochromatic
#2E2565 #423592 #5848BC #8175CC #AAA2DD

Accessibility & contrast

On white

6.84
#5848BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5848BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848BC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848BC#FFFFFF#000000##FFFFFF
##5848BC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#2E647B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5848bc;
/* rgb */ color: rgb(88, 72, 188);
/* oklch */ color: oklch(48.5% 0.175 284.1);
Tailwind
colors: {
  custom: {
    50: '#907cd1',
    500: '#5848bc',
    950: '#000000',
  },
}
SCSS
$custom: #5848bc;
$custom-light: #907cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5848bc",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 248.276,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48525,
    "c": 0.17482,
    "h": 284.1
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#5848BC
secondary
#C3CA96
accent
#D652C4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5848BC

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

Preview Lab → · Contrast checker → · Palette generator →

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