#5848CF#5848CF

#5848CF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.1% C 0.199 H 281.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5848CF
RGBrgb(88, 72, 207)
HSLhsl(247, 58%, 55%)
HSVhsv(247, 65%, 81%)
CMYKcmyk(57.5%, 65.2%, 0%, 18.8%)
CIE-LABlab(39.94, 43.88, -67.76)
CIE-LCHlch(39.94, 80.73, 302.93°)
OKLaboklab(50.08% 0.0408 -0.1949)
OKLCHoklch(50.08% 0.199 281.8)
XYZxyz(17.6008, 11.2133, 60.2563)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848CF #BFCF48
analogous
#487CCF #5848CF #9C48CF
triadic
#5848CF #CF5848 #48CF58
tetradic
#5848CF #CF487C #BFCF48 #48CF9C
square
#5848CF #CF487C #BFCF48 #48CF9C
split-complementary
#5848CF #CF9C48 #7CCF48
monochromatic
#2B217C #3C2DAD #5848CF #8478DC #B0A9E8

Accessibility & contrast

On white

6.48
#5848CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5848CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848CF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848CF#FFFFFF#000000##FFFFFF
##5848CF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#126A85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5848cf;
/* rgb */ color: rgb(88, 72, 207);
/* oklch */ color: oklch(50.1% 0.199 281.8);
Tailwind
colors: {
  custom: {
    50: '#937cdf',
    500: '#5848cf',
    950: '#000000',
  },
}
SCSS
$custom: #5848cf;
$custom-light: #937cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5848cf",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 247.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.19914,
    "h": 281.8
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#5848CF
secondary
#CFD69D
accent
#E246CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5848CF

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

Preview Lab → · Contrast checker → · Palette generator →

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