#645AB0#645AB0

#645AB0 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.132 H 286.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#645AB0
RGBrgb(100, 90, 176)
HSLhsl(247, 35%, 52%)
HSVhsv(247, 49%, 69%)
CMYKcmyk(43.2%, 48.9%, 0%, 31%)
CIE-LABlab(43.00, 26.01, -44.70)
CIE-LCHlch(43.00, 51.71, 300.19°)
OKLaboklab(51.9% 0.0367 -0.1267)
OKLCHoklch(51.9% 0.132 286.2)
XYZxyz(16.7459, 13.1556, 42.7228)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AB0 #A6B05A
analogous
#5A7BB0 #645AB0 #8F5AB0
triadic
#645AB0 #B0645A #5AB064
tetradic
#645AB0 #B05A7B #A6B05A #5AB08F
square
#645AB0 #B05A7B #A6B05A #5AB08F
split-complementary
#645AB0 #B08F5A #7BB05A
monochromatic
#342E61 #4B428A #645AB0 #8B83C4 #B2ADD8

Accessibility & contrast

On white

5.78
#645AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#645AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AB0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AB0#FFFFFF#000000##FFFFFF
##645AB01.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B3
Deuteranopia (green-blind)
#3563AE
Tritanopia (blue-blind)
#4D6C7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #645ab0;
/* rgb */ color: rgb(100, 90, 176);
/* oklch */ color: oklch(51.9% 0.132 286.2);
Tailwind
colors: {
  custom: {
    50: '#9488c8',
    500: '#645ab0',
    950: '#000000',
  },
}
SCSS
$custom: #645ab0;
$custom-light: #9488c8;
$custom-dark: #000000;
JSON
{
  "hex": "#645ab0",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 246.977,
    "s": 35.246,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.13194,
    "h": 286.2
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#645AB0
secondary
#C1C6A0
accent
#CB5DBE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #645AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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