#645BB3#645BB3

#645BB3 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.135 H 285.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#645BB3
RGBrgb(100, 91, 179)
HSLhsl(246, 37%, 53%)
HSVhsv(246, 49%, 70%)
CMYKcmyk(44.1%, 49.2%, 0%, 29.8%)
CIE-LABlab(43.43, 26.28, -45.77)
CIE-LCHlch(43.43, 52.78, 299.87°)
OKLaboklab(52.28% 0.0358 -0.1299)
OKLCHoklch(52.28% 0.135 285.4)
XYZxyz(17.1310, 13.4455, 44.3317)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BB3 #AAB35B
analogous
#5B7EB3 #645BB3 #905BB3
triadic
#645BB3 #B3645B #5BB364
tetradic
#645BB3 #B35B7E #AAB35B #5BB390
square
#645BB3 #B35B7E #AAB35B #5BB390
split-complementary
#645BB3 #B3905B #7EB35B
monochromatic
#342F65 #4A428F #645BB3 #8C85C6 #B3AFDA

Accessibility & contrast

On white

5.69
#645BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#645BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BB3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BB3#FFFFFF#000000##FFFFFF
##645BB31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#4C6D7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645bb3;
/* rgb */ color: rgb(100, 91, 179);
/* oklch */ color: oklch(52.3% 0.135 285.4);
Tailwind
colors: {
  custom: {
    50: '#9589ca',
    500: '#645bb3',
    950: '#000000',
  },
}
SCSS
$custom: #645bb3;
$custom-light: #9589ca;
$custom-dark: #000000;
JSON
{
  "hex": "#645bb3",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 246.136,
    "s": 36.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.1347,
    "h": 285.4
  },
  "luminance": 0.13446
}

Semantic roles & 50–950 ramp

primary
#645BB3
secondary
#C4C8A2
accent
#CD5BC1
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #645BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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