#645ABC#645ABC

#645ABC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.149 H 284.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#645ABC
RGBrgb(100, 90, 188)
HSLhsl(246, 42%, 55%)
HSVhsv(246, 52%, 74%)
CMYKcmyk(46.8%, 52.1%, 0%, 26.3%)
CIE-LABlab(43.73, 29.60, -50.55)
CIE-LCHlch(43.73, 58.58, 300.36°)
OKLaboklab(52.68% 0.0378 -0.1439)
OKLCHoklch(52.68% 0.149 284.7)
XYZxyz(17.9861, 13.6517, 49.2545)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645ABC #B2BC5A
analogous
#5A81BC #645ABC #955ABC
triadic
#645ABC #BC645A #5ABC64
tetradic
#645ABC #BC5A81 #B2BC5A #5ABC95
square
#645ABC #BC5A81 #B2BC5A #5ABC95
split-complementary
#645ABC #BC955A #81BC5A
monochromatic
#342D6F #483F9A #645ABC #8D86CE #B6B1DF

Accessibility & contrast

On white

5.63
#645ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#645ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645ABC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645ABC#FFFFFF#000000##FFFFFF
##645ABC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#2764BA
Tritanopia (blue-blind)
#476F82
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645abc;
/* rgb */ color: rgb(100, 90, 188);
/* oklch */ color: oklch(52.7% 0.149 284.7);
Tailwind
colors: {
  custom: {
    50: '#9689d1',
    500: '#645abc',
    950: '#000000',
  },
}
SCSS
$custom: #645abc;
$custom-light: #9689d1;
$custom-dark: #000000;
JSON
{
  "hex": "#645abc",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 246.122,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.14877,
    "h": 284.7
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#645ABC
secondary
#C9CEA4
accent
#D256C5
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #645ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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