#645BF8#645BF8

#645BF8 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.3% C 0.226 H 279.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#645BF8
RGBrgb(100, 91, 248)
HSLhsl(243, 92%, 66%)
HSVhsv(243, 63%, 97%)
CMYKcmyk(59.7%, 63.3%, 0%, 2.7%)
CIE-LABlab(48.22, 47.50, -77.46)
CIE-LCHlch(48.22, 90.86, 301.52°)
OKLaboklab(57.34% 0.0357 -0.223)
OKLCHoklch(57.34% 0.226 279.1)
XYZxyz(25.9345, 16.9669, 90.6970)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BF8 #EFF85B
analogous
#5BA1F8 #645BF8 #B25BF8
triadic
#645BF8 #F8645B #5BF864
tetradic
#645BF8 #F85BA1 #EFF85B #5BF8B2
square
#645BF8 #F85BA1 #EFF85B #5BF8B2
split-complementary
#645BF8 #F8B25B #A1F85B
monochromatic
#1409D0 #2D20F5 #645BF8 #9B96FB #D3D0FD

Accessibility & contrast

On white

4.78
#645BF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#645BF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BF8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BF8#FFFFFF#000000##FFFFFF
##645BF81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FD
Deuteranopia (green-blind)
#006CF5
Tritanopia (blue-blind)
#0083A1
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #645bf8;
/* rgb */ color: rgb(100, 91, 248);
/* oklch */ color: oklch(57.3% 0.226 279.1);
Tailwind
colors: {
  custom: {
    50: '#9e8afc',
    500: '#645bf8',
    950: '#000000',
  },
}
SCSS
$custom: #645bf8;
$custom-light: #9e8afc;
$custom-dark: #000000;
JSON
{
  "hex": "#645bf8",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 243.439,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.22584,
    "h": 279.1
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#645BF8
secondary
#EEF1BE
accent
#E600D8
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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