#645CA2#645CA2

#645CA2 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.4% C 0.109 H 287.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#645CA2
RGBrgb(100, 92, 162)
HSLhsl(247, 28%, 50%)
HSVhsv(247, 43%, 64%)
CMYKcmyk(38.3%, 43.2%, 0%, 36.5%)
CIE-LABlab(42.72, 20.67, -36.87)
CIE-LCHlch(42.72, 42.27, 299.27°)
OKLaboklab(51.43% 0.0321 -0.1038)
OKLCHoklch(51.43% 0.109 287.2)
XYZxyz(15.6025, 12.9718, 35.8571)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CA2 #9AA25C
analogous
#5C77A2 #645CA2 #875CA2
triadic
#645CA2 #A2645C #5CA264
tetradic
#645CA2 #A25C77 #9AA25C #5CA287
square
#645CA2 #A25C77 #9AA25C #5CA287
split-complementary
#645CA2 #A2875C #77A25C
monochromatic
#343054 #4C467B #645CA2 #8983B8 #AEAACF

Accessibility & contrast

On white

5.84
#645CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#645CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CA2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CA2#FFFFFF#000000##FFFFFF
##645CA21.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645ca2;
/* rgb */ color: rgb(100, 92, 162);
/* oklch */ color: oklch(51.4% 0.109 287.2);
Tailwind
colors: {
  custom: {
    50: '#938abe',
    500: '#645ca2',
    950: '#000000',
  },
}
SCSS
$custom: #645ca2;
$custom-light: #938abe;
$custom-dark: #000000;
JSON
{
  "hex": "#645ca2",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 246.857,
    "s": 27.559,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.10865,
    "h": 287.2
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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