#645DB3#645DB3

#645DB3 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.132 H 284.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#645DB3
RGBrgb(100, 93, 179)
HSLhsl(245, 36%, 53%)
HSVhsv(245, 48%, 70%)
CMYKcmyk(44.1%, 48%, 0%, 29.8%)
CIE-LABlab(43.93, 25.05, -44.97)
CIE-LCHlch(43.93, 51.47, 299.12°)
OKLaboklab(52.66% 0.0332 -0.1275)
OKLCHoklch(52.66% 0.132 284.6)
XYZxyz(17.3042, 13.7920, 44.3894)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DB3 #ACB35D
analogous
#5D81B3 #645DB3 #8F5DB3
triadic
#645DB3 #B3645D #5DB364
tetradic
#645DB3 #B35D81 #ACB35D #5DB38F
square
#645DB3 #B35D81 #ACB35D #5DB38F
split-complementary
#645DB3 #B38F5D #81B35D
monochromatic
#343066 #4A438F #645DB3 #8C87C7 #B4B0DA

Accessibility & contrast

On white

5.59
#645DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#645DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DB3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DB3#FFFFFF#000000##FFFFFF
##645DB31.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB6
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#4B6F7F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #645db3;
/* rgb */ color: rgb(100, 93, 179);
/* oklch */ color: oklch(52.7% 0.132 284.6);
Tailwind
colors: {
  custom: {
    50: '#948bca',
    500: '#645db3',
    950: '#000000',
  },
}
SCSS
$custom: #645db3;
$custom-light: #948bca;
$custom-dark: #000000;
JSON
{
  "hex": "#645db3",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 244.884,
    "s": 36.134,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52661,
    "c": 0.13175,
    "h": 284.6
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#645DB3
secondary
#C5C8A3
accent
#CC5CC3
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #645DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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