#645FDB#645FDB

#645FDB is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.8% C 0.184 H 280.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#645FDB
RGBrgb(100, 95, 219)
HSLhsl(242, 63%, 62%)
HSVhsv(242, 57%, 86%)
CMYKcmyk(54.3%, 56.6%, 0%, 14.1%)
CIE-LABlab(46.98, 36.12, -63.14)
CIE-LCHlch(46.98, 72.74, 299.77°)
OKLaboklab(55.76% 0.0333 -0.1809)
OKLCHoklch(55.76% 0.184 280.4)
XYZxyz(22.1299, 16.0068, 68.9276)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FDB #D6DB5F
analogous
#5F98DB #645FDB #A25FDB
triadic
#645FDB #DB645F #5FDB64
tetradic
#645FDB #DB5F98 #D6DB5F #5FDBA2
square
#645FDB #DB5F98 #D6DB5F #5FDBA2
split-complementary
#645FDB #DBA25F #98DB5F
monochromatic
#28239C #352ECE #645FDB #9491E6 #C5C3F1

Accessibility & contrast

On white

5.00
#645FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#645FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FDB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FDB#FFFFFF#000000##FFFFFF
##645FDB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#2B7C94
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645fdb;
/* rgb */ color: rgb(100, 95, 219);
/* oklch */ color: oklch(55.8% 0.184 280.4);
Tailwind
colors: {
  custom: {
    50: '#998ce7',
    500: '#645fdb',
    950: '#000000',
  },
}
SCSS
$custom: #645fdb;
$custom-light: #998ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#645fdb",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 242.419,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5576,
    "c": 0.18392,
    "h": 280.4
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#645FDB
secondary
#E0E2B4
accent
#CB1AC4
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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