#645BB0#645BB0

#645BB0 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.130 H 285.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#645BB0
RGBrgb(100, 91, 176)
HSLhsl(246, 35%, 52%)
HSVhsv(246, 48%, 69%)
CMYKcmyk(43.2%, 48.3%, 0%, 31%)
CIE-LABlab(43.25, 25.39, -44.30)
CIE-LCHlch(43.25, 51.06, 299.82°)
OKLaboklab(52.09% 0.0354 -0.1255)
OKLCHoklch(52.09% 0.13 285.8)
XYZxyz(16.8308, 13.3254, 42.7511)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BB0 #A7B05B
analogous
#5B7DB0 #645BB0 #8F5BB0
triadic
#645BB0 #B0645B #5BB064
tetradic
#645BB0 #B05B7D #A7B05B #5BB08F
square
#645BB0 #B05B7D #A7B05B #5BB08F
split-complementary
#645BB0 #B08F5B #7DB05B
monochromatic
#342F62 #4B438B #645BB0 #8B84C4 #B2AED8

Accessibility & contrast

On white

5.73
#645BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#645BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BB0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BB0#FFFFFF#000000##FFFFFF
##645BB01.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3969B3
Deuteranopia (green-blind)
#3764AE
Tritanopia (blue-blind)
#4D6D7D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #645bb0;
/* rgb */ color: rgb(100, 91, 176);
/* oklch */ color: oklch(52.1% 0.130 285.8);
Tailwind
colors: {
  custom: {
    50: '#9489c8',
    500: '#645bb0',
    950: '#000000',
  },
}
SCSS
$custom: #645bb0;
$custom-light: #9489c8;
$custom-dark: #000000;
JSON
{
  "hex": "#645bb0",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 246.353,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.13044,
    "h": 285.8
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#645BB0
secondary
#C2C6A1
accent
#CB5DBF
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #645BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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