#645CA3#645CA3

#645CA3 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.5% C 0.110 H 287.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#645CA3
RGBrgb(100, 92, 163)
HSLhsl(247, 28%, 50%)
HSVhsv(247, 44%, 64%)
CMYKcmyk(38.7%, 43.6%, 0%, 36.1%)
CIE-LABlab(42.77, 20.95, -37.38)
CIE-LCHlch(42.77, 42.85, 299.27°)
OKLaboklab(51.49% 0.0323 -0.1053)
OKLCHoklch(51.49% 0.11 287)
XYZxyz(15.6917, 13.0075, 36.3272)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CA3 #9BA35C
analogous
#5C77A3 #645CA3 #885CA3
triadic
#645CA3 #A3645C #5CA364
tetradic
#645CA3 #A35C77 #9BA35C #5CA388
square
#645CA3 #A35C77 #9BA35C #5CA388
split-complementary
#645CA3 #A3885C #77A35C
monochromatic
#343055 #4C467C #645CA3 #8983B9 #AEAACF

Accessibility & contrast

On white

5.83
#645CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#645CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CA3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CA3#FFFFFF#000000##FFFFFF
##645CA31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A6
Deuteranopia (green-blind)
#4363A1
Tritanopia (blue-blind)
#536A77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #645ca3;
/* rgb */ color: rgb(100, 92, 163);
/* oklch */ color: oklch(51.5% 0.110 287.0);
Tailwind
colors: {
  custom: {
    50: '#938abe',
    500: '#645ca3',
    950: '#000000',
  },
}
SCSS
$custom: #645ca3;
$custom-light: #938abe;
$custom-dark: #000000;
JSON
{
  "hex": "#645ca3",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 246.761,
    "s": 27.843,
    "l": 50
  },
  "oklch": {
    "l": 0.51493,
    "c": 0.11013,
    "h": 287
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#645CA3
secondary
#BABD9D
accent
#C464B9
background
#F9F8FB
surface
#F1F0F7
border
#CBCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #645CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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