#5848AF#5848AF

#5848AF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.5% C 0.158 H 285.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5848AF
RGBrgb(88, 72, 175)
HSLhsl(249, 42%, 48%)
HSVhsv(249, 59%, 69%)
CMYKcmyk(49.7%, 58.9%, 0%, 31.4%)
CIE-LABlab(37.49, 33.99, -53.02)
CIE-LCHlch(37.49, 62.98, 302.66°)
OKLaboklab(47.52% 0.043 -0.1516)
OKLCHoklch(47.52% 0.158 285.8)
XYZxyz(14.0774, 9.8039, 41.6997)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848AF #9FAF48
analogous
#486BAF #5848AF #8B48AF
triadic
#5848AF #AF5848 #48AF58
tetradic
#5848AF #AF486B #9FAF48 #48AF8B
square
#5848AF #AF486B #9FAF48 #48AF8B
split-complementary
#5848AF #AF8B48 #6BAF48
monochromatic
#2C2458 #423684 #5848AF #7D70C4 #A49BD6

Accessibility & contrast

On white

7.09
#5848AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5848AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5848AF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848AF#FFFFFF#000000##FFFFFF
##5848AF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#396074
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5848af;
/* rgb */ color: rgb(88, 72, 175);
/* oklch */ color: oklch(47.5% 0.158 285.8);
Tailwind
colors: {
  custom: {
    50: '#8e7bc8',
    500: '#5848af',
    950: '#000000',
  },
}
SCSS
$custom: #5848af;
$custom-light: #8e7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5848af",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 249.32,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4752,
    "c": 0.15758,
    "h": 285.8
  },
  "luminance": 0.09805
}

Semantic roles & 50–950 ramp

primary
#5848AF
secondary
#BBC290
accent
#D256BE
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5848AF

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

Preview Lab → · Contrast checker → · Palette generator →

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