#645BCF#645BCF

#645BCF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.173 H 282.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#645BCF
RGBrgb(100, 91, 207)
HSLhsl(245, 55%, 58%)
HSVhsv(245, 56%, 81%)
CMYKcmyk(51.7%, 56%, 0%, 18.8%)
CIE-LABlab(45.21, 34.80, -59.14)
CIE-LCHlch(45.21, 68.62, 300.48°)
OKLaboklab(54.19% 0.0373 -0.1692)
OKLCHoklch(54.19% 0.173 282.4)
XYZxyz(20.2557, 14.6954, 60.7885)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BCF #C6CF5B
analogous
#5B8CCF #645BCF #9E5BCF
triadic
#645BCF #CF645B #5BCF64
tetradic
#645BCF #CF5B8C #C6CF5B #5BCF9E
square
#645BCF #CF5B8C #C6CF5B #5BCF9E
split-complementary
#645BCF #CF9E5B #8CCF5B
monochromatic
#2F2888 #4036B7 #645BCF #918ADD #BDBAEB

Accessibility & contrast

On white

5.33
#645BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#645BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BCF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BCF#FFFFFF#000000##FFFFFF
##645BCF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066FD3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#39758C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645bcf;
/* rgb */ color: rgb(100, 91, 207);
/* oklch */ color: oklch(54.2% 0.173 282.4);
Tailwind
colors: {
  custom: {
    50: '#9889de',
    500: '#645bcf',
    950: '#000000',
  },
}
SCSS
$custom: #645bcf;
$custom-light: #9889de;
$custom-dark: #000000;
JSON
{
  "hex": "#645bcf",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 244.655,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.17323,
    "h": 282.4
  },
  "luminance": 0.14696
}

Semantic roles & 50–950 ramp

primary
#645BCF
secondary
#D6DAAC
accent
#DE4AD3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #645BCF

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

Preview Lab → · Contrast checker → · Palette generator →

#645BCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva