#645FA9#645FA9

#645FA9 is a mid, moderate blue. Relative luminance 0.138; OKLCH L 52.4% C 0.114 H 284.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#645FA9
RGBrgb(100, 95, 169)
HSLhsl(244, 30%, 52%)
HSVhsv(244, 44%, 66%)
CMYKcmyk(40.8%, 43.8%, 0%, 33.7%)
CIE-LABlab(43.88, 20.85, -39.17)
CIE-LCHlch(43.88, 44.37, 298.02°)
OKLaboklab(52.44% 0.0292 -0.1105)
OKLCHoklch(52.44% 0.114 284.8)
XYZxyz(16.5071, 13.7577, 39.3142)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FA9 #A4A95F
analogous
#5F7FA9 #645FA9 #895FA9
triadic
#645FA9 #A9645F #5FA964
tetradic
#645FA9 #A95F7F #A4A95F #5FA989
square
#645FA9 #A95F7F #A4A95F #5FA989
split-complementary
#645FA9 #A9895F #7FA95F
monochromatic
#34325C #4B4784 #645FA9 #8B87BE #B1AFD4

Accessibility & contrast

On white

5.60
#645FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#645FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FA9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FA9#FFFFFF#000000##FFFFFF
##645FA91.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAC
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#506E7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #645fa9;
/* rgb */ color: rgb(100, 95, 169);
/* oklch */ color: oklch(52.4% 0.114 284.8);
Tailwind
colors: {
  custom: {
    50: '#938cc3',
    500: '#645fa9',
    950: '#000000',
  },
}
SCSS
$custom: #645fa9;
$custom-light: #938cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#645fa9",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 244.054,
    "s": 30.081,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.11431,
    "h": 284.8
  },
  "luminance": 0.13758
}

Semantic roles & 50–950 ramp

primary
#645FA9
secondary
#C0C2A2
accent
#C661C0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #645FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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