#645BBD#645BBD

#645BBD is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.149 H 284.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#645BBD
RGBrgb(100, 91, 189)
HSLhsl(246, 43%, 55%)
HSVhsv(246, 52%, 74%)
CMYKcmyk(47.1%, 51.9%, 0%, 25.9%)
CIE-LABlab(44.04, 29.30, -50.63)
CIE-LCHlch(44.04, 58.50, 300.05°)
OKLaboklab(52.94% 0.0366 -0.1441)
OKLCHoklch(52.94% 0.149 284.3)
XYZxyz(18.1792, 13.8648, 49.8525)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BBD #B4BD5B
analogous
#5B83BD #645BBD #955BBD
triadic
#645BBD #BD645B #5BBD64
tetradic
#645BBD #BD5B83 #B4BD5B #5BBD95
square
#645BBD #BD5B83 #B4BD5B #5BBD95
split-complementary
#645BBD #BD955B #83BD5B
monochromatic
#332D70 #473F9C #645BBD #8D87CF #B6B2E0

Accessibility & contrast

On white

5.57
#645BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#645BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BBD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BBD#FFFFFF#000000##FFFFFF
##645BBD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BC0
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#467083
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #645bbd;
/* rgb */ color: rgb(100, 91, 189);
/* oklch */ color: oklch(52.9% 0.149 284.3);
Tailwind
colors: {
  custom: {
    50: '#9689d1',
    500: '#645bbd',
    950: '#000000',
  },
}
SCSS
$custom: #645bbd;
$custom-light: #9689d1;
$custom-dark: #000000;
JSON
{
  "hex": "#645bbd",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 245.51,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52936,
    "c": 0.14872,
    "h": 284.3
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#645BBD
secondary
#CBCFA5
accent
#D255C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #645BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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