#645FAE#645FAE

#645FAE is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.122 H 284.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#645FAE
RGBrgb(100, 95, 174)
HSLhsl(244, 33%, 53%)
HSVhsv(244, 45%, 68%)
CMYKcmyk(42.5%, 45.4%, 0%, 31.8%)
CIE-LABlab(44.16, 22.32, -41.67)
CIE-LCHlch(44.16, 47.27, 298.18°)
OKLaboklab(52.74% 0.03 -0.1178)
OKLCHoklch(52.74% 0.122 284.3)
XYZxyz(16.9855, 13.9491, 41.8337)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FAE #A9AE5F
analogous
#5F82AE #645FAE #8B5FAE
triadic
#645FAE #AE645F #5FAE64
tetradic
#645FAE #AE5F82 #A9AE5F #5FAE8B
square
#645FAE #AE5F82 #A9AE5F #5FAE8B
split-complementary
#645FAE #AE8B5F #82AE5F
monochromatic
#343161 #4A468A #645FAE #8B88C3 #B3B0D7

Accessibility & contrast

On white

5.54
#645FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#645FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FAE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FAE#FFFFFF#000000##FFFFFF
##645FAE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#4E6F7E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #645fae;
/* rgb */ color: rgb(100, 95, 174);
/* oklch */ color: oklch(52.7% 0.122 284.3);
Tailwind
colors: {
  custom: {
    50: '#948cc6',
    500: '#645fae',
    950: '#000000',
  },
}
SCSS
$custom: #645fae;
$custom-light: #948cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#645fae",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 243.797,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.1216,
    "h": 284.3
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#645FAE
secondary
#C3C6A3
accent
#C95FC2
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #645FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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