#645FCC#645FCC

#645FCC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.164 H 281.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#645FCC
RGBrgb(100, 95, 204)
HSLhsl(243, 52%, 59%)
HSVhsv(243, 53%, 80%)
CMYKcmyk(51%, 53.4%, 0%, 20%)
CIE-LABlab(45.98, 31.45, -56.19)
CIE-LCHlch(45.98, 64.39, 299.24°)
OKLaboklab(54.69% 0.0329 -0.1604)
OKLCHoklch(54.69% 0.164 281.6)
XYZxyz(20.2435, 15.2522, 58.9923)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FCC #C7CC5F
analogous
#5F90CC #645FCC #9A5FCC
triadic
#645FCC #CC645F #5FCC64
tetradic
#645FCC #CC5F90 #C7CC5F #5FCC9A
square
#645FCC #CC5F90 #C7CC5F #5FCC9A
split-complementary
#645FCC #CC9A5F #90CC5F
monochromatic
#2F2B86 #3F39B4 #645FCC #918DDB #BEBCEA

Accessibility & contrast

On white

5.18
#645FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#645FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FCC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FCC#FFFFFF#000000##FFFFFF
##645FCC1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D0
Deuteranopia (green-blind)
#1569CA
Tritanopia (blue-blind)
#3B778C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645fcc;
/* rgb */ color: rgb(100, 95, 204);
/* oklch */ color: oklch(54.7% 0.164 281.6);
Tailwind
colors: {
  custom: {
    50: '#978cdc',
    500: '#645fcc',
    950: '#000000',
  },
}
SCSS
$custom: #645fcc;
$custom-light: #978cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#645fcc",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 242.752,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.16378,
    "h": 281.6
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#645FCC
secondary
#D7D9AE
accent
#DB4DD5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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