#645AFD#645AFD

#645AFD is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.6% C 0.233 H 278.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#645AFD
RGBrgb(100, 90, 253)
HSLhsl(244, 98%, 67%)
HSVhsv(244, 64%, 99%)
CMYKcmyk(60.5%, 64.4%, 0%, 0.8%)
CIE-LABlab(48.40, 49.61, -79.95)
CIE-LCHlch(48.40, 94.09, 301.82°)
OKLaboklab(57.59% 0.036 -0.2303)
OKLCHoklch(57.59% 0.233 278.9)
XYZxyz(26.6357, 17.1115, 94.8087)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AFD #F3FD5A
analogous
#5AA2FD #645AFD #B65AFD
triadic
#645AFD #FD645A #5AFD64
tetradic
#645AFD #FD5AA2 #F3FD5A #5AFDB6
square
#645AFD #FD5AA2 #F3FD5A #5AFDB6
split-complementary
#645AFD #FDB65A #A2FD5A
monochromatic
#1003DA #2B1EFC #645AFD #9D96FE #D6D3FE

Accessibility & contrast

On white

4.75
#645AFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#645AFD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AFD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AFD#FFFFFF#000000##FFFFFF
##645AFD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006CFA
Tritanopia (blue-blind)
#0084A4
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645afd;
/* rgb */ color: rgb(100, 90, 253);
/* oklch */ color: oklch(57.6% 0.233 278.9);
Tailwind
colors: {
  custom: {
    50: '#9f8aff',
    500: '#645afd',
    950: '#000000',
  },
}
SCSS
$custom: #645afd;
$custom-light: #9f8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#645afd",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 243.681,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.23311,
    "h": 278.9
  },
  "luminance": 0.17114
}

Semantic roles & 50–950 ramp

primary
#645AFD
secondary
#F0F3C0
accent
#E600D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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