#645F94#645F94

#645F94 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.3% C 0.083 H 287.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#645F94
RGBrgb(100, 95, 148)
HSLhsl(246, 22%, 48%)
HSVhsv(246, 36%, 58%)
CMYKcmyk(32.4%, 35.8%, 0%, 42%)
CIE-LABlab(42.81, 14.84, -28.39)
CIE-LCHlch(42.81, 32.03, 297.60°)
OKLaboklab(51.27% 0.0248 -0.0792)
OKLCHoklch(51.27% 0.083 287.4)
XYZxyz(14.6916, 13.0315, 29.7525)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F94 #8F945F
analogous
#5F7594 #645F94 #7E5F94
triadic
#645F94 #94645F #5F9464
tetradic
#645F94 #945F75 #8F945F #5F947E
square
#645F94 #945F75 #8F945F #5F947E
split-complementary
#645F94 #947E5F #75945F
monochromatic
#322F49 #4B476F #645F94 #8682AF #AAA7C6

Accessibility & contrast

On white

5.82
#645F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#645F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645F94
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645F94#FFFFFF#000000##FFFFFF
##645F941.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6696
Deuteranopia (green-blind)
#4F6493
Tritanopia (blue-blind)
#586972
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #645f94;
/* rgb */ color: rgb(100, 95, 148);
/* oklch */ color: oklch(51.3% 0.083 287.4);
Tailwind
colors: {
  custom: {
    50: '#928cb3',
    500: '#645f94',
    950: '#000000',
  },
}
SCSS
$custom: #645f94;
$custom-light: #928cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#645f94",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 245.66,
    "s": 21.811,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.08297,
    "h": 287.4
  },
  "luminance": 0.13032
}

Semantic roles & 50–950 ramp

primary
#645F94
secondary
#B2B59A
accent
#BE69B6
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #645F94

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

Preview Lab → · Contrast checker → · Palette generator →

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