#645ABA#645ABA

#645ABA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.146 H 284.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#645ABA
RGBrgb(100, 90, 186)
HSLhsl(246, 41%, 54%)
HSVhsv(246, 52%, 73%)
CMYKcmyk(46.2%, 51.6%, 0%, 27.1%)
CIE-LABlab(43.60, 29.00, -49.58)
CIE-LCHlch(43.60, 57.44, 300.32°)
OKLaboklab(52.55% 0.0376 -0.1411)
OKLCHoklch(52.55% 0.146 284.9)
XYZxyz(17.7720, 13.5660, 48.1269)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645ABA #B0BA5A
analogous
#5A80BA #645ABA #945ABA
triadic
#645ABA #BA645A #5ABA64
tetradic
#645ABA #BA5A80 #B0BA5A #5ABA94
square
#645ABA #BA5A80 #B0BA5A #5ABA94
split-complementary
#645ABA #BA945A #80BA5A
monochromatic
#342D6C #493F97 #645ABA #8D85CC #B5B0DE

Accessibility & contrast

On white

5.66
#645ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#645ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645ABA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645ABA#FFFFFF#000000##FFFFFF
##645ABA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABD
Deuteranopia (green-blind)
#2A64B8
Tritanopia (blue-blind)
#486F81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645aba;
/* rgb */ color: rgb(100, 90, 186);
/* oklch */ color: oklch(52.6% 0.146 284.9);
Tailwind
colors: {
  custom: {
    50: '#9589cf',
    500: '#645aba',
    950: '#000000',
  },
}
SCSS
$custom: #645aba;
$custom-light: #9589cf;
$custom-dark: #000000;
JSON
{
  "hex": "#645aba",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 246.25,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.14599,
    "h": 284.9
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#645ABA
secondary
#C8CCA3
accent
#D157C4
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #645ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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