#645CE0#645CE0

#645CE0 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.6% C 0.194 H 280.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#645CE0
RGBrgb(100, 92, 224)
HSLhsl(244, 68%, 62%)
HSVhsv(244, 59%, 88%)
CMYKcmyk(55.4%, 58.9%, 0%, 12.2%)
CIE-LABlab(46.64, 39.47, -66.54)
CIE-LCHlch(46.64, 77.36, 300.68°)
OKLaboklab(55.62% 0.0362 -0.1909)
OKLCHoklch(55.62% 0.194 280.7)
XYZxyz(22.5330, 15.7440, 72.3581)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CE0 #D8E05C
analogous
#5C96E0 #645CE0 #A65CE0
triadic
#645CE0 #E0645C #5CE064
tetradic
#645CE0 #E05C96 #D8E05C #5CE0A6
square
#645CE0 #E05C96 #D8E05C #5CE0A6
split-complementary
#645CE0 #E0A65C #96E05C
monochromatic
#271FA3 #3329D6 #645CE0 #958FEA #C6C3F4

Accessibility & contrast

On white

5.06
#645CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#645CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CE0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CE0#FFFFFF#000000##FFFFFF
##645CE01.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#257B95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645ce0;
/* rgb */ color: rgb(100, 92, 224);
/* oklch */ color: oklch(55.6% 0.194 280.7);
Tailwind
colors: {
  custom: {
    50: '#9a8aeb',
    500: '#645ce0',
    950: '#000000',
  },
}
SCSS
$custom: #645ce0;
$custom-light: #9a8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#645ce0",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 243.636,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55615,
    "c": 0.19431,
    "h": 280.7
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#645CE0
secondary
#E1E4B4
accent
#D016C5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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