#645EF9#645EF9

#645EF9 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.9% C 0.224 H 278.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#645EF9
RGBrgb(100, 94, 249)
HSLhsl(242, 93%, 67%)
HSVhsv(242, 62%, 98%)
CMYKcmyk(59.8%, 62.2%, 0%, 2.4%)
CIE-LABlab(48.95, 46.08, -76.83)
CIE-LCHlch(48.95, 89.59, 300.96°)
OKLaboklab(57.9% 0.0331 -0.2211)
OKLCHoklch(57.9% 0.224 278.5)
XYZxyz(26.3516, 17.5523, 91.6035)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EF9 #F3F95E
analogous
#5EA5F9 #645EF9 #B25EF9
triadic
#645EF9 #F9645E #5EF964
tetradic
#645EF9 #F95EA5 #F3F95E #5EF9B2
square
#645EF9 #F95EA5 #F3F95E #5EF9B2
split-complementary
#645EF9 #F9B25E #A5F95E
monochromatic
#1008D5 #2B23F7 #645EF9 #9D99FB #D6D4FD

Accessibility & contrast

On white

4.66
#645EF9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#645EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #645EF9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EF9#FFFFFF#000000##FFFFFF
##645EF91.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFE
Deuteranopia (green-blind)
#006EF6
Tritanopia (blue-blind)
#0085A3
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #645ef9;
/* rgb */ color: rgb(100, 94, 249);
/* oklch */ color: oklch(57.9% 0.224 278.5);
Tailwind
colors: {
  custom: {
    50: '#9e8cfc',
    500: '#645ef9',
    950: '#000000',
  },
}
SCSS
$custom: #645ef9;
$custom-light: #9e8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#645ef9",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 249
  },
  "hsl": {
    "h": 242.323,
    "s": 92.814,
    "l": 67.255
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.2236,
    "h": 278.5
  },
  "luminance": 0.17554
}

Semantic roles & 50–950 ramp

primary
#645EF9
secondary
#F0F2C1
accent
#E600DD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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