#5641DB#5641DB

#5641DB is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.9% C 0.222 H 280.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5641DB
RGBrgb(86, 65, 219)
HSLhsl(248, 68%, 56%)
HSVhsv(248, 70%, 86%)
CMYKcmyk(60.7%, 70.3%, 0%, 14.1%)
CIE-LABlab(39.36, 51.18, -75.60)
CIE-LCHlch(39.36, 91.30, 304.10°)
OKLaboklab(49.94% 0.042 -0.218)
OKLCHoklch(49.94% 0.222 280.9)
XYZxyz(18.5102, 10.8722, 68.1272)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641DB #C6DB41
analogous
#4179DB #5641DB #A341DB
triadic
#5641DB #DB5641 #41DB56
tetradic
#5641DB #DB4179 #C6DB41 #41DBA3
square
#5641DB #DB4179 #C6DB41 #41DBA3
split-complementary
#5641DB #DBA341 #79DB41
monochromatic
#291A88 #3823BB #5641DB #8474E5 #B2A8EE

Accessibility & contrast

On white

6.61
#5641DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5641DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641DB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641DB#FFFFFF#000000##FFFFFF
##5641DB1.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#006B8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5641db;
/* rgb */ color: rgb(86, 65, 219);
/* oklch */ color: oklch(49.9% 0.222 280.9);
Tailwind
colors: {
  custom: {
    50: '#9478e7',
    500: '#5641db',
    950: '#000000',
  },
}
SCSS
$custom: #5641db;
$custom-light: #9478e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5641db",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 248.182,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49939,
    "c": 0.22199,
    "h": 280.9
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#5641DB
secondary
#D3DC9C
accent
#EB3DD3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5641DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5641DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva