#645EA3#645EA3

#645EA3 is a mid, moderate blue. Relative luminance 0.134; OKLCH L 51.9% C 0.107 H 286.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#645EA3
RGBrgb(100, 94, 163)
HSLhsl(245, 27%, 50%)
HSVhsv(245, 42%, 64%)
CMYKcmyk(38.7%, 42.3%, 0%, 36.1%)
CIE-LABlab(43.30, 19.71, -36.55)
CIE-LCHlch(43.30, 41.53, 298.34°)
OKLaboklab(51.89% 0.0295 -0.1029)
OKLCHoklch(51.89% 0.107 286)
XYZxyz(15.8673, 13.3586, 36.3857)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EA3 #9DA35E
analogous
#5E7AA3 #645EA3 #865EA3
triadic
#645EA3 #A3645E #5EA364
tetradic
#645EA3 #A35E7A #9DA35E #5EA386
square
#645EA3 #A35E7A #9DA35E #5EA386
split-complementary
#645EA3 #A3865E #7AA35E
monochromatic
#343156 #4C477D #645EA3 #8985B9 #AFACD0

Accessibility & contrast

On white

5.72
#645EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#645EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EA3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EA3#FFFFFF#000000##FFFFFF
##645EA31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A6
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#536B78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #645ea3;
/* rgb */ color: rgb(100, 94, 163);
/* oklch */ color: oklch(51.9% 0.107 286.0);
Tailwind
colors: {
  custom: {
    50: '#938bbe',
    500: '#645ea3',
    950: '#000000',
  },
}
SCSS
$custom: #645ea3;
$custom-light: #938bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#645ea3",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 245.217,
    "s": 27.273,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.10702,
    "h": 286
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#645EA3
secondary
#BBBE9F
accent
#C464BB
background
#F9F8FB
surface
#F1F0F7
border
#CBCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #645EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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