#645BD3#645BD3

#645BD3 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.179 H 282.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#645BD3
RGBrgb(100, 91, 211)
HSLhsl(245, 58%, 59%)
HSVhsv(245, 57%, 83%)
CMYKcmyk(52.6%, 56.9%, 0%, 17.3%)
CIE-LABlab(45.49, 36.04, -60.99)
CIE-LCHlch(45.49, 70.84, 300.58°)
OKLaboklab(54.48% 0.0374 -0.1746)
OKLCHoklch(54.48% 0.179 282.1)
XYZxyz(20.7509, 14.8934, 63.3967)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BD3 #CAD35B
analogous
#5B8ED3 #645BD3 #A05BD3
triadic
#645BD3 #D3645B #5BD364
tetradic
#645BD3 #D35B8E #CAD35B #5BD3A0
square
#645BD3 #D35B8E #CAD35B #5BD3A0
split-complementary
#645BD3 #D3A05B #8ED35B
monochromatic
#2E268E #3D33BE #645BD3 #928BE0 #BFBCED

Accessibility & contrast

On white

5.28
#645BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#645BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BD3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BD3#FFFFFF#000000##FFFFFF
##645BD31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645bd3;
/* rgb */ color: rgb(100, 91, 211);
/* oklch */ color: oklch(54.5% 0.179 282.1);
Tailwind
colors: {
  custom: {
    50: '#998ae1',
    500: '#645bd3',
    950: '#000000',
  },
}
SCSS
$custom: #645bd3;
$custom-light: #998ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#645bd3",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 244.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.17856,
    "h": 282.1
  },
  "luminance": 0.14895
}

Semantic roles & 50–950 ramp

primary
#645BD3
secondary
#D9DCAD
accent
#E147D5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #645BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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