#645BDA#645BDA

#645BDA is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.188 H 281.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#645BDA
RGBrgb(100, 91, 218)
HSLhsl(244, 63%, 61%)
HSVhsv(244, 58%, 85%)
CMYKcmyk(54.1%, 58.3%, 0%, 14.5%)
CIE-LABlab(45.98, 38.20, -64.20)
CIE-LCHlch(45.98, 74.70, 300.76°)
OKLaboklab(54.99% 0.0373 -0.184)
OKLCHoklch(54.99% 0.188 281.5)
XYZxyz(21.6476, 15.2521, 68.1193)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BDA #D1DA5B
analogous
#5B91DA #645BDA #A35BDA
triadic
#645BDA #DA645B #5BDA64
tetradic
#645BDA #DA5B91 #D1DA5B #5BDAA3
square
#645BDA #DA5B91 #D1DA5B #5BDAA3
split-complementary
#645BDA #DAA35B #91DA5B
monochromatic
#2B2298 #392ECA #645BDA #938DE5 #C2BFF1

Accessibility & contrast

On white

5.18
#645BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#645BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BDA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BDA#FFFFFF#000000##FFFFFF
##645BDA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#2D7992
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645bda;
/* rgb */ color: rgb(100, 91, 218);
/* oklch */ color: oklch(55.0% 0.188 281.5);
Tailwind
colors: {
  custom: {
    50: '#9a8ae6',
    500: '#645bda',
    950: '#000000',
  },
}
SCSS
$custom: #645bda;
$custom-light: #9a8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#645bda",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 244.252,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.18777,
    "h": 281.5
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#645BDA
secondary
#DDE1B0
accent
#CB1BBE
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #645BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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