#645CCB#645CCB

#645CCB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.167 H 282.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#645CCB
RGBrgb(100, 92, 203)
HSLhsl(244, 52%, 58%)
HSVhsv(244, 55%, 80%)
CMYKcmyk(50.7%, 54.7%, 0%, 20.4%)
CIE-LABlab(45.18, 32.97, -56.89)
CIE-LCHlch(45.18, 65.75, 300.09°)
OKLaboklab(54.08% 0.0362 -0.1625)
OKLCHoklch(54.08% 0.167 282.5)
XYZxyz(19.8589, 14.6743, 58.2743)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CCB #C3CB5C
analogous
#5C8CCB #645CCB #9B5CCB
triadic
#645CCB #CB645C #5CCB64
tetradic
#645CCB #CB5C8C #C3CB5C #5CCB9B
square
#645CCB #CB5C8C #C3CB5C #5CCB9B
split-complementary
#645CCB #CB9B5C #8CCB5C
monochromatic
#302A83 #4139B1 #645CCB #908ADA #BCB9E9

Accessibility & contrast

On white

5.34
#645CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#645CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CCB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CCB#FFFFFF#000000##FFFFFF
##645CCB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#0967C9
Tritanopia (blue-blind)
#3C758A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645ccb;
/* rgb */ color: rgb(100, 92, 203);
/* oklch */ color: oklch(54.1% 0.167 282.5);
Tailwind
colors: {
  custom: {
    50: '#978adb',
    500: '#645ccb',
    950: '#000000',
  },
}
SCSS
$custom: #645ccb;
$custom-light: #978adb;
$custom-dark: #000000;
JSON
{
  "hex": "#645ccb",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 244.324,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.1665,
    "h": 282.5
  },
  "luminance": 0.14675
}

Semantic roles & 50–950 ramp

primary
#645CCB
secondary
#D4D8AB
accent
#DB4DD1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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