#645CDB#645CDB

#645CDB is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.2% C 0.188 H 281.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#645CDB
RGBrgb(100, 92, 219)
HSLhsl(244, 64%, 61%)
HSVhsv(244, 58%, 86%)
CMYKcmyk(54.3%, 58%, 0%, 14.1%)
CIE-LABlab(46.28, 37.92, -64.27)
CIE-LCHlch(46.28, 74.62, 300.54°)
OKLaboklab(55.24% 0.0363 -0.1843)
OKLCHoklch(55.24% 0.188 281.1)
XYZxyz(21.8649, 15.4767, 68.8393)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CDB #D3DB5C
analogous
#5C93DB #645CDB #A45CDB
triadic
#645CDB #DB645C #5CDB64
tetradic
#645CDB #DB5C93 #D3DB5C #5CDBA4
square
#645CDB #DB5C93 #D3DB5C #5CDBA4
split-complementary
#645CDB #DBA45C #93DB5C
monochromatic
#2A229A #372DCD #645CDB #948EE6 #C3C0F1

Accessibility & contrast

On white

5.13
#645CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#645CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CDB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CDB#FFFFFF#000000##FFFFFF
##645CDB1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#2C7A93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645cdb;
/* rgb */ color: rgb(100, 92, 219);
/* oklch */ color: oklch(55.2% 0.188 281.1);
Tailwind
colors: {
  custom: {
    50: '#9a8ae7',
    500: '#645cdb',
    950: '#000000',
  },
}
SCSS
$custom: #645cdb;
$custom-light: #9a8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#645cdb",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 243.78,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.1878,
    "h": 281.1
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#645CDB
secondary
#DEE1B1
accent
#CC1AC0
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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