#5645CB#5645CB

#5645CB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 49.1% C 0.198 H 282.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5645CB
RGBrgb(86, 69, 203)
HSLhsl(248, 56%, 53%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(57.6%, 66%, 0%, 20.4%)
CIE-LABlab(38.80, 44.06, -67.30)
CIE-LCHlch(38.80, 80.44, 303.21°)
OKLaboklab(49.11% 0.0413 -0.1936)
OKLCHoklch(49.11% 0.198 282)
XYZxyz(16.7420, 10.5454, 57.6416)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645CB #BACB45
analogous
#4577CB #5645CB #9945CB
triadic
#5645CB #CB5645 #45CB56
tetradic
#5645CB #CB4577 #BACB45 #45CB99
square
#5645CB #CB4577 #BACB45 #45CB99
split-complementary
#5645CB #CB9945 #77CB45
monochromatic
#2B2175 #3D2EA5 #5645CB #8175D8 #ADA5E6

Accessibility & contrast

On white

6.75
#5645CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5645CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645CB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645CB#FFFFFF#000000##FFFFFF
##5645CB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#116782
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5645cb;
/* rgb */ color: rgb(86, 69, 203);
/* oklch */ color: oklch(49.1% 0.198 282.0);
Tailwind
colors: {
  custom: {
    50: '#917adc',
    500: '#5645cb',
    950: '#000000',
  },
}
SCSS
$custom: #5645cb;
$custom-light: #917adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5645cb",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 247.612,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.198,
    "h": 282
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#5645CB
secondary
#CBD399
accent
#E048CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5645CB

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

Preview Lab → · Contrast checker → · Palette generator →

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