#645EDA#645EDA

#645EDA is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.5% C 0.184 H 280.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#645EDA
RGBrgb(100, 94, 218)
HSLhsl(243, 63%, 61%)
HSVhsv(243, 57%, 85%)
CMYKcmyk(54.1%, 56.9%, 0%, 14.5%)
CIE-LABlab(46.68, 36.41, -63.06)
CIE-LCHlch(46.68, 72.82, 300.00°)
OKLaboklab(55.51% 0.0343 -0.1807)
OKLCHoklch(55.51% 0.184 280.7)
XYZxyz(21.9092, 15.7753, 68.2065)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EDA #D4DA5E
analogous
#5E96DA #645EDA #A25EDA
triadic
#645EDA #DA645E #5EDA64
tetradic
#645EDA #DA5E96 #D4DA5E #5EDAA2
square
#645EDA #DA5E96 #D4DA5E #5EDAA2
split-complementary
#645EDA #DAA25E #96DA5E
monochromatic
#29239A #362FCC #645EDA #9490E5 #C4C2F1

Accessibility & contrast

On white

5.05
#645EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#645EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EDA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EDA#FFFFFF#000000##FFFFFF
##645EDA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#2D7B93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645eda;
/* rgb */ color: rgb(100, 94, 218);
/* oklch */ color: oklch(55.5% 0.184 280.7);
Tailwind
colors: {
  custom: {
    50: '#998ce6',
    500: '#645eda',
    950: '#000000',
  },
}
SCSS
$custom: #645eda;
$custom-light: #998ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#645eda",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 242.903,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.18389,
    "h": 280.7
  },
  "luminance": 0.15777
}

Semantic roles & 50–950 ramp

primary
#645EDA
secondary
#DFE1B3
accent
#CA1BC2
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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