#645FBF#645FBF

#645FBF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.8% C 0.146 H 282.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#645FBF
RGBrgb(100, 95, 191)
HSLhsl(243, 43%, 56%)
HSVhsv(243, 50%, 75%)
CMYKcmyk(47.6%, 50.3%, 0%, 25.1%)
CIE-LABlab(45.16, 27.45, -50.00)
CIE-LCHlch(45.16, 57.04, 298.77°)
OKLaboklab(53.81% 0.032 -0.1423)
OKLCHoklch(53.81% 0.146 282.7)
XYZxyz(18.7489, 14.6544, 51.1208)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FBF #BABF5F
analogous
#5F8ABF #645FBF #945FBF
triadic
#645FBF #BF645F #5FBF64
tetradic
#645FBF #BF5F8A #BABF5F #5FBF94
square
#645FBF #BF5F8A #BABF5F #5FBF94
split-complementary
#645FBF #BF945F #8ABF5F
monochromatic
#322F75 #4540A1 #645FBF #8E8BD0 #B9B6E2

Accessibility & contrast

On white

5.34
#645FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#645FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FBF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FBF#FFFFFF#000000##FFFFFF
##645FBF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#447486
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645fbf;
/* rgb */ color: rgb(100, 95, 191);
/* oklch */ color: oklch(53.8% 0.146 282.7);
Tailwind
colors: {
  custom: {
    50: '#968cd3',
    500: '#645fbf',
    950: '#000000',
  },
}
SCSS
$custom: #645fbf;
$custom-light: #968cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#645fbf",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 243.125,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.14582,
    "h": 282.7
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#645FBF
secondary
#CFD1A9
accent
#D355CC
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #645FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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