#645EBC#645EBC

#645EBC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.143 H 283.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#645EBC
RGBrgb(100, 94, 188)
HSLhsl(244, 41%, 55%)
HSVhsv(244, 50%, 74%)
CMYKcmyk(46.8%, 50%, 0%, 26.3%)
CIE-LABlab(44.72, 27.15, -48.95)
CIE-LCHlch(44.72, 55.98, 299.01°)
OKLaboklab(53.43% 0.0329 -0.1392)
OKLCHoklch(53.43% 0.143 283.3)
XYZxyz(18.3326, 14.3447, 49.3700)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EBC #B6BC5E
analogous
#5E87BC #645EBC #935EBC
triadic
#645EBC #BC645E #5EBC64
tetradic
#645EBC #BC5E87 #B6BC5E #5EBC93
square
#645EBC #BC5E87 #B6BC5E #5EBC93
split-complementary
#645EBC #BC935E #87BC5E
monochromatic
#332F71 #47419C #645EBC #8E89CE #B7B4E0

Accessibility & contrast

On white

5.43
#645EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#645EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EBC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EBC#FFFFFF#000000##FFFFFF
##645EBC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#467284
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645ebc;
/* rgb */ color: rgb(100, 94, 188);
/* oklch */ color: oklch(53.4% 0.143 283.3);
Tailwind
colors: {
  custom: {
    50: '#958bd1',
    500: '#645ebc',
    950: '#000000',
  },
}
SCSS
$custom: #645ebc;
$custom-light: #958bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#645ebc",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 243.83,
    "s": 41.228,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53429,
    "c": 0.14303,
    "h": 283.3
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#645EBC
secondary
#CCCFA7
accent
#D157C9
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #645EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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