#645EBD#645EBD

#645EBD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.144 H 283.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#645EBD
RGBrgb(100, 94, 189)
HSLhsl(244, 42%, 55%)
HSVhsv(244, 50%, 74%)
CMYKcmyk(47.1%, 50.3%, 0%, 25.9%)
CIE-LABlab(44.78, 27.46, -49.44)
CIE-LCHlch(44.78, 56.55, 299.05°)
OKLaboklab(53.5% 0.033 -0.1406)
OKLCHoklch(53.5% 0.144 283.2)
XYZxyz(18.4408, 14.3880, 49.9397)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EBD #B7BD5E
analogous
#5E88BD #645EBD #935EBD
triadic
#645EBD #BD645E #5EBD64
tetradic
#645EBD #BD5E88 #B7BD5E #5EBD93
square
#645EBD #BD5E88 #B7BD5E #5EBD93
split-complementary
#645EBD #BD935E #88BD5E
monochromatic
#332F72 #46409D #645EBD #8E89CF #B8B5E1

Accessibility & contrast

On white

5.42
#645EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#645EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EBD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EBD#FFFFFF#000000##FFFFFF
##645EBD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#2E67BB
Tritanopia (blue-blind)
#467284
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645ebd;
/* rgb */ color: rgb(100, 94, 189);
/* oklch */ color: oklch(53.5% 0.144 283.2);
Tailwind
colors: {
  custom: {
    50: '#968bd1',
    500: '#645ebd',
    950: '#000000',
  },
}
SCSS
$custom: #645ebd;
$custom-light: #968bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#645ebd",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 243.789,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.14444,
    "h": 283.2
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#645EBD
secondary
#CDCFA8
accent
#D256CA
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #645EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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