#645BB5#645BB5

#645BB5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.138 H 285.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#645BB5
RGBrgb(100, 91, 181)
HSLhsl(246, 38%, 53%)
HSVhsv(246, 50%, 71%)
CMYKcmyk(44.8%, 49.7%, 0%, 29%)
CIE-LABlab(43.55, 26.88, -46.75)
CIE-LCHlch(43.55, 53.93, 299.90°)
OKLaboklab(52.41% 0.036 -0.1327)
OKLCHoklch(52.41% 0.138 285.2)
XYZxyz(17.3347, 13.5270, 45.4047)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BB5 #ACB55B
analogous
#5B7FB5 #645BB5 #915BB5
triadic
#645BB5 #B5645B #5BB564
tetradic
#645BB5 #B55B7F #ACB55B #5BB591
square
#645BB5 #B55B7F #ACB55B #5BB591
split-complementary
#645BB5 #B5915B #7FB55B
monochromatic
#342F67 #4A4291 #645BB5 #8C85C8 #B4AFDB

Accessibility & contrast

On white

5.67
#645BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645BB5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BB5#FFFFFF#000000##FFFFFF
##645BB51.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346AB8
Deuteranopia (green-blind)
#3264B3
Tritanopia (blue-blind)
#4A6E7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645bb5;
/* rgb */ color: rgb(100, 91, 181);
/* oklch */ color: oklch(52.4% 0.138 285.2);
Tailwind
colors: {
  custom: {
    50: '#9589cc',
    500: '#645bb5',
    950: '#000000',
  },
}
SCSS
$custom: #645bb5;
$custom-light: #9589cc;
$custom-dark: #000000;
JSON
{
  "hex": "#645bb5",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 246,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52409,
    "c": 0.13753,
    "h": 285.2
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#645BB5
secondary
#C5C9A3
accent
#CE5AC2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #645BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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