#5848FA#5848FA

#5848FA is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.9% C 0.251 H 277.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5848FA
RGBrgb(88, 72, 250)
HSLhsl(245, 95%, 63%)
HSVhsv(245, 71%, 98%)
CMYKcmyk(64.8%, 71.2%, 0%, 2%)
CIE-LABlab(43.67, 57.04, -86.07)
CIE-LCHlch(43.67, 103.25, 303.53°)
OKLaboklab(53.89% 0.0343 -0.2485)
OKLCHoklch(53.89% 0.251 277.9)
XYZxyz(23.5916, 13.6096, 91.8076)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848FA #EAFA48
analogous
#4891FA #5848FA #B148FA
triadic
#5848FA #FA5848 #48FA58
tetradic
#5848FA #FA4891 #EAFA48 #48FAB1
square
#5848FA #FA4891 #EAFA48 #48FAB1
split-complementary
#5848FA #FAB148 #91FA48
monochromatic
#1605C2 #220CF8 #5848FA #8E84FC #C5BFFD

Accessibility & contrast

On white

5.64
#5848FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5848FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848FA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848FA#FFFFFF#000000##FFFFFF
##5848FA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EFF
Deuteranopia (green-blind)
#0060F7
Tritanopia (blue-blind)
#007A9D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5848fa;
/* rgb */ color: rgb(88, 72, 250);
/* oklch */ color: oklch(53.9% 0.251 277.9);
Tailwind
colors: {
  custom: {
    50: '#9a7dfd',
    500: '#5848fa',
    950: '#000000',
  },
}
SCSS
$custom: #5848fa;
$custom-light: #9a7dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5848fa",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 250
  },
  "hsl": {
    "h": 245.393,
    "s": 94.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.25089,
    "h": 277.9
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#5848FA
secondary
#E9EFAF
accent
#E600D1
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5848FA

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

Preview Lab → · Contrast checker → · Palette generator →

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