#645AC0#645AC0

#645AC0 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.0% C 0.154 H 284.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#645AC0
RGBrgb(100, 90, 192)
HSLhsl(246, 45%, 55%)
HSVhsv(246, 53%, 75%)
CMYKcmyk(47.9%, 53.1%, 0%, 24.7%)
CIE-LABlab(43.98, 30.82, -52.47)
CIE-LCHlch(43.98, 60.85, 300.43°)
OKLaboklab(52.96% 0.038 -0.1495)
OKLCHoklch(52.96% 0.154 284.3)
XYZxyz(18.4233, 13.8265, 51.5570)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AC0 #B6C05A
analogous
#5A83C0 #645AC0 #975AC0
triadic
#645AC0 #C0645A #5AC064
tetradic
#645AC0 #C05A83 #B6C05A #5AC097
square
#645AC0 #C05A83 #B6C05A #5AC097
split-complementary
#645AC0 #C0975A #83C05A
monochromatic
#332C73 #473DA0 #645AC0 #8E86D1 #B7B3E2

Accessibility & contrast

On white

5.58
#645AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#645AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AC0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AC0#FFFFFF#000000##FFFFFF
##645AC01.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC4
Deuteranopia (green-blind)
#2065BE
Tritanopia (blue-blind)
#447084
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #645ac0;
/* rgb */ color: rgb(100, 90, 192);
/* oklch */ color: oklch(53.0% 0.154 284.3);
Tailwind
colors: {
  custom: {
    50: '#9689d4',
    500: '#645ac0',
    950: '#000000',
  },
}
SCSS
$custom: #645ac0;
$custom-light: #9689d4;
$custom-dark: #000000;
JSON
{
  "hex": "#645ac0",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 245.882,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.15429,
    "h": 284.3
  },
  "luminance": 0.13827
}

Semantic roles & 50–950 ramp

primary
#645AC0
secondary
#CCD0A6
accent
#D453C8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #645AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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