#645CB5#645CB5

#645CB5 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.136 H 284.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#645CB5
RGBrgb(100, 92, 181)
HSLhsl(245, 38%, 54%)
HSVhsv(245, 49%, 71%)
CMYKcmyk(44.8%, 49.2%, 0%, 29%)
CIE-LABlab(43.80, 26.27, -46.35)
CIE-LCHlch(43.80, 53.28, 299.54°)
OKLaboklab(52.6% 0.0347 -0.1316)
OKLCHoklch(52.6% 0.136 284.8)
XYZxyz(17.4207, 13.6991, 45.4334)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CB5 #ADB55C
analogous
#5C80B5 #645CB5 #905CB5
triadic
#645CB5 #B5645C #5CB564
tetradic
#645CB5 #B55C80 #ADB55C #5CB590
square
#645CB5 #B55C80 #ADB55C #5CB590
split-complementary
#645CB5 #B5905C #80B55C
monochromatic
#342F68 #494292 #645CB5 #8C86C8 #B4B0DB

Accessibility & contrast

On white

5.61
#645CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#645CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CB5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CB5#FFFFFF#000000##FFFFFF
##645CB51.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#3365B3
Tritanopia (blue-blind)
#4A6F80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645cb5;
/* rgb */ color: rgb(100, 92, 181);
/* oklch */ color: oklch(52.6% 0.136 284.8);
Tailwind
colors: {
  custom: {
    50: '#958acc',
    500: '#645cb5',
    950: '#000000',
  },
}
SCSS
$custom: #645cb5;
$custom-light: #958acc;
$custom-dark: #000000;
JSON
{
  "hex": "#645cb5",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 245.393,
    "s": 37.553,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.13606,
    "h": 284.8
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#645CB5
secondary
#C6C9A3
accent
#CE5AC3
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #645CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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