#645FDF#645FDF

#645FDF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.1% C 0.189 H 280.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#645FDF
RGBrgb(100, 95, 223)
HSLhsl(242, 67%, 62%)
HSVhsv(242, 57%, 87%)
CMYKcmyk(55.2%, 57.4%, 0%, 12.5%)
CIE-LABlab(47.26, 37.37, -64.96)
CIE-LCHlch(47.26, 74.94, 299.91°)
OKLaboklab(56.05% 0.0332 -0.1862)
OKLCHoklch(56.05% 0.189 280.1)
XYZxyz(22.6629, 16.2200, 71.7343)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FDF #DADF5F
analogous
#5F9ADF #645FDF #A45FDF
triadic
#645FDF #DF645F #5FDF64
tetradic
#645FDF #DF5F9A #DADF5F #5FDFA4
square
#645FDF #DF5F9A #DADF5F #5FDFA4
split-complementary
#645FDF #DFA45F #9ADF5F
monochromatic
#2621A3 #332CD5 #645FDF #9592E9 #C7C5F3

Accessibility & contrast

On white

4.95
#645FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#645FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FDF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FDF#FFFFFF#000000##FFFFFF
##645FDF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#267D96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645fdf;
/* rgb */ color: rgb(100, 95, 223);
/* oklch */ color: oklch(56.1% 0.189 280.1);
Tailwind
colors: {
  custom: {
    50: '#9a8cea',
    500: '#645fdf',
    950: '#000000',
  },
}
SCSS
$custom: #645fdf;
$custom-light: #9a8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#645fdf",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 242.344,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56054,
    "c": 0.18918,
    "h": 280.1
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#645FDF
secondary
#E2E4B6
accent
#CF17C7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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