#5848CB#5848CB

#5848CB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.7% C 0.194 H 282.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5848CB
RGBrgb(88, 72, 203)
HSLhsl(247, 56%, 54%)
HSVhsv(247, 65%, 80%)
CMYKcmyk(56.7%, 64.5%, 0%, 20.4%)
CIE-LABlab(39.61, 42.65, -65.97)
CIE-LCHlch(39.61, 78.56, 302.88°)
OKLaboklab(49.74% 0.0412 -0.1897)
OKLCHoklch(49.74% 0.194 282.3)
XYZxyz(17.1180, 11.0201, 57.7134)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848CB #BBCB48
analogous
#487ACB #5848CB #9A48CB
triadic
#5848CB #CB5848 #48CB58
tetradic
#5848CB #CB487A #BBCB48 #48CB9A
square
#5848CB #CB487A #BBCB48 #48CB9A
split-complementary
#5848CB #CB9A48 #7ACB48
monochromatic
#2C2277 #3E2FA6 #5848CB #8378D9 #AFA7E6

Accessibility & contrast

On white

6.55
#5848CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5848CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848CB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848CB#FFFFFF#000000##FFFFFF
##5848CB1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#1B6983
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5848cb;
/* rgb */ color: rgb(88, 72, 203);
/* oklch */ color: oklch(49.7% 0.194 282.3);
Tailwind
colors: {
  custom: {
    50: '#927cdc',
    500: '#5848cb',
    950: '#000000',
  },
}
SCSS
$custom: #5848cb;
$custom-light: #927cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5848cb",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 247.328,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49742,
    "c": 0.19411,
    "h": 282.3
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#5848CB
secondary
#CDD39B
accent
#DF49CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5848CB

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

Preview Lab → · Contrast checker → · Palette generator →

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