#5648B5#5648B5

#5648B5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.166 H 284.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5648B5
RGBrgb(86, 72, 181)
HSLhsl(248, 43%, 50%)
HSVhsv(248, 60%, 71%)
CMYKcmyk(52.5%, 60.2%, 0%, 29%)
CIE-LABlab(37.75, 35.44, -56.15)
CIE-LCHlch(37.75, 66.40, 302.26°)
OKLaboklab(47.81% 0.0402 -0.1609)
OKLCHoklch(47.81% 0.166 284)
XYZxyz(14.4931, 9.9486, 44.8637)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648B5 #A7B548
analogous
#4871B5 #5648B5 #8C48B5
triadic
#5648B5 #B55648 #48B556
tetradic
#5648B5 #B54871 #A7B548 #48B58C
square
#5648B5 #B54871 #A7B548 #48B58C
split-complementary
#5648B5 #B58C48 #71B548
monochromatic
#2C255D #413789 #5648B5 #7E73C7 #A69FD9

Accessibility & contrast

On white

7.02
#5648B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5648B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5648B5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648B5#FFFFFF#000000##FFFFFF
##5648B51.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#306277
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5648b5;
/* rgb */ color: rgb(86, 72, 181);
/* oklch */ color: oklch(47.8% 0.166 284.0);
Tailwind
colors: {
  custom: {
    50: '#8e7bcc',
    500: '#5648b5',
    950: '#000000',
  },
}
SCSS
$custom: #5648b5;
$custom-light: #8e7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#5648b5",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 247.706,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47808,
    "c": 0.16583,
    "h": 284
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#5648B5
secondary
#BFC593
accent
#D355C3
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5648B5

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

Preview Lab → · Contrast checker → · Palette generator →

#5648B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva