#645CDA#645CDA

#645CDA is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.2% C 0.186 H 281.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#645CDA
RGBrgb(100, 92, 218)
HSLhsl(244, 63%, 61%)
HSVhsv(244, 58%, 85%)
CMYKcmyk(54.1%, 57.8%, 0%, 14.5%)
CIE-LABlab(46.21, 37.61, -63.82)
CIE-LCHlch(46.21, 74.08, 300.51°)
OKLaboklab(55.17% 0.0363 -0.1829)
OKLCHoklch(55.17% 0.186 281.2)
XYZxyz(21.7336, 15.4242, 68.1480)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CDA #D2DA5C
analogous
#5C93DA #645CDA #A35CDA
triadic
#645CDA #DA645C #5CDA64
tetradic
#645CDA #DA5C93 #D2DA5C #5CDAA3
square
#645CDA #DA5C93 #D2DA5C #5CDAA3
split-complementary
#645CDA #DAA35C #93DA5C
monochromatic
#2A2399 #382ECB #645CDA #938EE5 #C3C0F1

Accessibility & contrast

On white

5.14
#645CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#645CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CDA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CDA#FFFFFF#000000##FFFFFF
##645CDA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#2D7A92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645cda;
/* rgb */ color: rgb(100, 92, 218);
/* oklch */ color: oklch(55.2% 0.186 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a8ae6',
    500: '#645cda',
    950: '#000000',
  },
}
SCSS
$custom: #645cda;
$custom-light: #9a8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#645cda",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 243.81,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55166,
    "c": 0.18649,
    "h": 281.2
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#645CDA
secondary
#DEE1B1
accent
#CB1BC0
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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