#645CB3#645CB3

#645CB3 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.133 H 285.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#645CB3
RGBrgb(100, 92, 179)
HSLhsl(246, 36%, 53%)
HSVhsv(246, 49%, 70%)
CMYKcmyk(44.1%, 48.6%, 0%, 29.8%)
CIE-LABlab(43.68, 25.67, -45.37)
CIE-LCHlch(43.68, 52.13, 299.50°)
OKLaboklab(52.47% 0.0345 -0.1287)
OKLCHoklch(52.47% 0.133 285)
XYZxyz(17.2170, 13.6176, 44.3604)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CB3 #ABB35C
analogous
#5C7FB3 #645CB3 #8F5CB3
triadic
#645CB3 #B3645C #5CB364
tetradic
#645CB3 #B35C7F #ABB35C #5CB38F
square
#645CB3 #B35C7F #ABB35C #5CB38F
split-complementary
#645CB3 #B38F5C #7FB35C
monochromatic
#342F65 #4A438F #645CB3 #8C86C6 #B3AFDA

Accessibility & contrast

On white

5.64
#645CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#645CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CB3
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CB3#FFFFFF#000000##FFFFFF
##645CB31.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB6
Deuteranopia (green-blind)
#3565B1
Tritanopia (blue-blind)
#4B6E7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645cb3;
/* rgb */ color: rgb(100, 92, 179);
/* oklch */ color: oklch(52.5% 0.133 285.0);
Tailwind
colors: {
  custom: {
    50: '#958aca',
    500: '#645cb3',
    950: '#000000',
  },
}
SCSS
$custom: #645cb3;
$custom-light: #958aca;
$custom-dark: #000000;
JSON
{
  "hex": "#645cb3",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 245.517,
    "s": 36.402,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.13322,
    "h": 285
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#645CB3
secondary
#C5C8A3
accent
#CC5BC2
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #645CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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