#5848EB#5848EB

#5848EB is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.5% C 0.233 H 279.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5848EB
RGBrgb(88, 72, 235)
HSLhsl(246, 80%, 60%)
HSVhsv(246, 69%, 92%)
CMYKcmyk(62.6%, 69.4%, 0%, 7.8%)
CIE-LABlab(42.32, 52.49, -79.86)
CIE-LCHlch(42.32, 95.56, 303.32°)
OKLaboklab(52.52% 0.0369 -0.2304)
OKLCHoklch(52.52% 0.233 279.1)
XYZxyz(21.3325, 12.7059, 79.9095)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848EB #DBEB48
analogous
#4889EB #5848EB #AA48EB
triadic
#5848EB #EB5848 #48EB58
tetradic
#5848EB #EB4889 #DBEB48 #48EBAA
square
#5848EB #EB4889 #DBEB48 #48EBAA
split-complementary
#5848EB #EBAA48 #89EB48
monochromatic
#2112A6 #2C18DE #5848EB #8A7FF1 #BDB6F7

Accessibility & contrast

On white

5.93
#5848EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5848EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848EB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848EB#FFFFFF#000000##FFFFFF
##5848EB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF0
Deuteranopia (green-blind)
#005DE8
Tritanopia (blue-blind)
#007494
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5848eb;
/* rgb */ color: rgb(88, 72, 235);
/* oklch */ color: oklch(52.5% 0.233 279.1);
Tailwind
colors: {
  custom: {
    50: '#977df3',
    500: '#5848eb',
    950: '#000000',
  },
}
SCSS
$custom: #5848eb;
$custom-light: #977df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5848eb",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 245.89,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.23331,
    "h": 279.1
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#5848EB
secondary
#E1E7A8
accent
#DD09C8
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5848EB

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

Preview Lab → · Contrast checker → · Palette generator →

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