#645EA0#645EA0

#645EA0 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.7% C 0.103 H 286.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#645EA0
RGBrgb(100, 94, 160)
HSLhsl(245, 26%, 50%)
HSVhsv(245, 41%, 63%)
CMYKcmyk(37.5%, 41.3%, 0%, 37.3%)
CIE-LABlab(43.14, 18.85, -35.02)
CIE-LCHlch(43.14, 39.77, 298.29°)
OKLaboklab(51.72% 0.0289 -0.0984)
OKLCHoklch(51.72% 0.103 286.4)
XYZxyz(15.6017, 13.2523, 34.9868)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EA0 #9AA05E
analogous
#5E79A0 #645EA0 #855EA0
triadic
#645EA0 #A0645E #5EA064
tetradic
#645EA0 #A05E79 #9AA05E #5EA085
square
#645EA0 #A05E79 #9AA05E #5EA085
split-complementary
#645EA0 #A0855E #79A05E
monochromatic
#343153 #4C4779 #645EA0 #8984B7 #AEABCE

Accessibility & contrast

On white

5.75
#645EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#645EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EA0
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EA0#FFFFFF#000000##FFFFFF
##645EA01.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A3
Deuteranopia (green-blind)
#47649E
Tritanopia (blue-blind)
#546B77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #645ea0;
/* rgb */ color: rgb(100, 94, 160);
/* oklch */ color: oklch(51.7% 0.103 286.4);
Tailwind
colors: {
  custom: {
    50: '#938bbc',
    500: '#645ea0',
    950: '#000000',
  },
}
SCSS
$custom: #645ea0;
$custom-light: #938bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#645ea0",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 245.455,
    "s": 25.984,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.10259,
    "h": 286.4
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#645EA0
secondary
#B9BC9E
accent
#C265BA
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #645EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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