#645BCA#645BCA

#645BCA is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.167 H 282.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#645BCA
RGBrgb(100, 91, 202)
HSLhsl(245, 51%, 57%)
HSVhsv(245, 55%, 79%)
CMYKcmyk(50.5%, 55%, 0%, 20.8%)
CIE-LABlab(44.88, 33.27, -56.81)
CIE-LCHlch(44.88, 65.83, 300.35°)
OKLaboklab(53.83% 0.0372 -0.1623)
OKLCHoklch(53.83% 0.167 282.9)
XYZxyz(19.6541, 14.4547, 57.6201)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BCA #C1CA5B
analogous
#5B89CA #645BCA #9C5BCA
triadic
#645BCA #CA645B #5BCA64
tetradic
#645BCA #CA5B89 #C1CA5B #5BCA9C
square
#645BCA #CA5B89 #C1CA5B #5BCA9C
split-complementary
#645BCA #CA9C5B #89CA5B
monochromatic
#312A81 #4239AF #645BCA #9089D9 #BBB8E8

Accessibility & contrast

On white

5.40
#645BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#645BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BCA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BCA#FFFFFF#000000##FFFFFF
##645BCA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECE
Deuteranopia (green-blind)
#0766C8
Tritanopia (blue-blind)
#3D748A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645bca;
/* rgb */ color: rgb(100, 91, 202);
/* oklch */ color: oklch(53.8% 0.167 282.9);
Tailwind
colors: {
  custom: {
    50: '#9789db',
    500: '#645bca',
    950: '#000000',
  },
}
SCSS
$custom: #645bca;
$custom-light: #9789db;
$custom-dark: #000000;
JSON
{
  "hex": "#645bca",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 244.865,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.16652,
    "h": 282.9
  },
  "luminance": 0.14456
}

Semantic roles & 50–950 ramp

primary
#645BCA
secondary
#D3D7AA
accent
#DB4DCF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #645BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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