#645FCE#645FCE

#645FCE is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.167 H 281.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#645FCE
RGBrgb(100, 95, 206)
HSLhsl(243, 53%, 59%)
HSVhsv(243, 54%, 81%)
CMYKcmyk(51.5%, 53.9%, 0%, 19.2%)
CIE-LABlab(46.11, 32.07, -57.13)
CIE-LCHlch(46.11, 65.51, 299.31°)
OKLaboklab(54.83% 0.033 -0.1632)
OKLCHoklch(54.83% 0.167 281.4)
XYZxyz(20.4849, 15.3488, 60.2638)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FCE #C9CE5F
analogous
#5F92CE #645FCE #9C5FCE
triadic
#645FCE #CE645F #5FCE64
tetradic
#645FCE #CE5F92 #C9CE5F #5FCE9C
square
#645FCE #CE5F92 #C9CE5F #5FCE9C
split-complementary
#645FCE #CE9C5F #92CE5F
monochromatic
#2E2A89 #3E38B8 #645FCE #918EDC #BFBDEB

Accessibility & contrast

On white

5.16
#645FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#645FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FCE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FCE#FFFFFF#000000##FFFFFF
##645FCE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D2
Deuteranopia (green-blind)
#0F69CC
Tritanopia (blue-blind)
#39788D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645fce;
/* rgb */ color: rgb(100, 95, 206);
/* oklch */ color: oklch(54.8% 0.167 281.4);
Tailwind
colors: {
  custom: {
    50: '#988cde',
    500: '#645fce',
    950: '#000000',
  },
}
SCSS
$custom: #645fce;
$custom-light: #988cde;
$custom-dark: #000000;
JSON
{
  "hex": "#645fce",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 242.703,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.16651,
    "h": 281.4
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#645FCE
secondary
#D8DAAF
accent
#DD4BD6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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