#645BBB#645BBB

#645BBB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.146 H 284.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#645BBB
RGBrgb(100, 91, 187)
HSLhsl(246, 41%, 55%)
HSVhsv(246, 51%, 73%)
CMYKcmyk(46.5%, 51.3%, 0%, 26.7%)
CIE-LABlab(43.91, 28.69, -49.67)
CIE-LCHlch(43.91, 57.36, 300.01°)
OKLaboklab(52.8% 0.0365 -0.1413)
OKLCHoklch(52.8% 0.146 284.5)
XYZxyz(17.9636, 13.7785, 48.7171)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BBB #B2BB5B
analogous
#5B82BB #645BBB #945BBB
triadic
#645BBB #BB645B #5BBB64
tetradic
#645BBB #BB5B82 #B2BB5B #5BBB94
square
#645BBB #BB5B82 #B2BB5B #5BBB94
split-complementary
#645BBB #BB945B #82BB5B
monochromatic
#342E6E #484099 #645BBB #8D86CD #B6B2DF

Accessibility & contrast

On white

5.59
#645BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#645BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BBB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BBB#FFFFFF#000000##FFFFFF
##645BBB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#477082
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #645bbb;
/* rgb */ color: rgb(100, 91, 187);
/* oklch */ color: oklch(52.8% 0.146 284.5);
Tailwind
colors: {
  custom: {
    50: '#9589d0',
    500: '#645bbb',
    950: '#000000',
  },
}
SCSS
$custom: #645bbb;
$custom-light: #9589d0;
$custom-dark: #000000;
JSON
{
  "hex": "#645bbb",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 245.625,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.14594,
    "h": 284.5
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

primary
#645BBB
secondary
#C9CDA5
accent
#D157C6
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #645BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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