#645CA9#645CA9

#645CA9 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.8% C 0.119 H 286.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#645CA9
RGBrgb(100, 92, 169)
HSLhsl(246, 31%, 51%)
HSVhsv(246, 46%, 66%)
CMYKcmyk(40.8%, 45.6%, 0%, 33.7%)
CIE-LABlab(43.10, 22.70, -40.41)
CIE-LCHlch(43.10, 46.35, 299.33°)
OKLaboklab(51.85% 0.0332 -0.1141)
OKLCHoklch(51.85% 0.119 286.2)
XYZxyz(16.2421, 13.2276, 39.2258)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CA9 #A1A95C
analogous
#5C7AA9 #645CA9 #8A5CA9
triadic
#645CA9 #A9645C #5CA964
tetradic
#645CA9 #A95C7A #A1A95C #5CA98A
square
#645CA9 #A95C7A #A1A95C #5CA98A
split-complementary
#645CA9 #A98A5C #7AA95C
monochromatic
#34305B #4B4583 #645CA9 #8A84BE #B0ACD3

Accessibility & contrast

On white

5.76
#645CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#645CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CA9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CA9#FFFFFF#000000##FFFFFF
##645CA91.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AC
Deuteranopia (green-blind)
#3E64A7
Tritanopia (blue-blind)
#506B7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #645ca9;
/* rgb */ color: rgb(100, 92, 169);
/* oklch */ color: oklch(51.8% 0.119 286.2);
Tailwind
colors: {
  custom: {
    50: '#938ac3',
    500: '#645ca9',
    950: '#000000',
  },
}
SCSS
$custom: #645ca9;
$custom-light: #938ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#645ca9",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 169
  },
  "hsl": {
    "h": 246.234,
    "s": 30.924,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.11887,
    "h": 286.2
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#645CA9
secondary
#BEC19F
accent
#C761BC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #645CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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