#645CD3#645CD3

#645CD3 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.177 H 281.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#645CD3
RGBrgb(100, 92, 211)
HSLhsl(244, 57%, 59%)
HSVhsv(244, 56%, 83%)
CMYKcmyk(52.6%, 56.4%, 0%, 17.3%)
CIE-LABlab(45.72, 35.44, -60.61)
CIE-LCHlch(45.72, 70.21, 300.31°)
OKLaboklab(54.65% 0.0363 -0.1735)
OKLCHoklch(54.65% 0.177 281.8)
XYZxyz(20.8369, 15.0656, 63.4254)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CD3 #CBD35C
analogous
#5C8FD3 #645CD3 #A05CD3
triadic
#645CD3 #D3645C #5CD364
tetradic
#645CD3 #D35C8F #CBD35C #5CD3A0
square
#645CD3 #D35C8F #CBD35C #5CD3A0
split-complementary
#645CD3 #D3A05C #8FD35C
monochromatic
#2D268E #3D33BE #645CD3 #928CE0 #C0BCED

Accessibility & contrast

On white

5.23
#645CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#645CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CD3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CD3#FFFFFF#000000##FFFFFF
##645CD31.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#35778E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #645cd3;
/* rgb */ color: rgb(100, 92, 211);
/* oklch */ color: oklch(54.7% 0.177 281.8);
Tailwind
colors: {
  custom: {
    50: '#998ae1',
    500: '#645cd3',
    950: '#000000',
  },
}
SCSS
$custom: #645cd3;
$custom-light: #998ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#645cd3",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 244.034,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54652,
    "c": 0.17724,
    "h": 281.8
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#645CD3
secondary
#D9DDAE
accent
#E147D6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #645CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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