#5645CA#5645CA

#5645CA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 49.0% C 0.197 H 282.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5645CA
RGBrgb(86, 69, 202)
HSLhsl(248, 56%, 53%)
HSVhsv(248, 66%, 79%)
CMYKcmyk(57.4%, 65.8%, 0%, 20.8%)
CIE-LABlab(38.72, 43.75, -66.86)
CIE-LCHlch(38.72, 79.90, 303.20°)
OKLaboklab(49.03% 0.0414 -0.1923)
OKLCHoklch(49.03% 0.197 282.1)
XYZxyz(16.6232, 10.4979, 57.0160)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645CA #B9CA45
analogous
#4576CA #5645CA #9845CA
triadic
#5645CA #CA5645 #45CA56
tetradic
#5645CA #CA4576 #B9CA45 #45CA98
square
#5645CA #CA4576 #B9CA45 #45CA98
split-complementary
#5645CA #CA9845 #76CA45
monochromatic
#2C2174 #3D2FA3 #5645CA #8175D8 #ADA4E5

Accessibility & contrast

On white

6.77
#5645CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5645CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645CA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645CA#FFFFFF#000000##FFFFFF
##5645CA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#136781
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5645ca;
/* rgb */ color: rgb(86, 69, 202);
/* oklch */ color: oklch(49.0% 0.197 282.1);
Tailwind
colors: {
  custom: {
    50: '#917adb',
    500: '#5645ca',
    950: '#000000',
  },
}
SCSS
$custom: #5645ca;
$custom-light: #917adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5645ca",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 247.669,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49029,
    "c": 0.19674,
    "h": 282.1
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#5645CA
secondary
#CBD299
accent
#DF49CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5645CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5645CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva