#645BDF#645BDF

#645BDF is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.4% C 0.194 H 281.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#645BDF
RGBrgb(100, 91, 223)
HSLhsl(244, 67%, 62%)
HSVhsv(244, 59%, 87%)
CMYKcmyk(55.2%, 59.2%, 0%, 12.5%)
CIE-LABlab(46.34, 39.75, -66.46)
CIE-LCHlch(46.34, 77.44, 300.89°)
OKLaboklab(55.37% 0.0372 -0.1907)
OKLCHoklch(55.37% 0.194 281)
XYZxyz(22.3118, 15.5178, 71.6173)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BDF #D6DF5B
analogous
#5B94DF #645BDF #A65BDF
triadic
#645BDF #DF645B #5BDF64
tetradic
#645BDF #DF5B94 #D6DF5B #5BDFA6
square
#645BDF #DF5B94 #D6DF5B #5BDFA6
split-complementary
#645BDF #DFA65B #94DF5B
monochromatic
#281FA0 #3529D4 #645BDF #948EE9 #C5C1F3

Accessibility & contrast

On white

5.12
#645BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#645BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BDF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BDF#FFFFFF#000000##FFFFFF
##645BDF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#277A94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645bdf;
/* rgb */ color: rgb(100, 91, 223);
/* oklch */ color: oklch(55.4% 0.194 281.0);
Tailwind
colors: {
  custom: {
    50: '#9a8aea',
    500: '#645bdf',
    950: '#000000',
  },
}
SCSS
$custom: #645bdf;
$custom-light: #9a8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#645bdf",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 244.091,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.19428,
    "h": 281
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#645BDF
secondary
#E0E3B2
accent
#CF16C3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #645BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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