#645FCA#645FCA

#645FCA is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.161 H 281.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#645FCA
RGBrgb(100, 95, 202)
HSLhsl(243, 50%, 58%)
HSVhsv(243, 53%, 79%)
CMYKcmyk(50.5%, 53%, 0%, 20.8%)
CIE-LABlab(45.85, 30.83, -55.25)
CIE-LCHlch(45.85, 63.27, 299.17°)
OKLaboklab(54.55% 0.0328 -0.1577)
OKLCHoklch(54.55% 0.161 281.7)
XYZxyz(20.0052, 15.1569, 57.7371)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FCA #C5CA5F
analogous
#5F8FCA #645FCA #995FCA
triadic
#645FCA #CA645F #5FCA64
tetradic
#645FCA #CA5F8F #C5CA5F #5FCA99
square
#645FCA #CA5F8F #C5CA5F #5FCA99
split-complementary
#645FCA #CA995F #8FCA5F
monochromatic
#302B83 #403BB1 #645FCA #918DD9 #BDBBE8

Accessibility & contrast

On white

5.21
#645FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#645FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FCA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FCA#FFFFFF#000000##FFFFFF
##645FCA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#1B69C8
Tritanopia (blue-blind)
#3C778B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645fca;
/* rgb */ color: rgb(100, 95, 202);
/* oklch */ color: oklch(54.6% 0.161 281.7);
Tailwind
colors: {
  custom: {
    50: '#978cdb',
    500: '#645fca',
    950: '#000000',
  },
}
SCSS
$custom: #645fca;
$custom-light: #978cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#645fca",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 242.804,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54554,
    "c": 0.16105,
    "h": 281.7
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#645FCA
secondary
#D6D8AD
accent
#DA4ED3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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