#645EBF#645EBF

#645EBF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.147 H 283.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#645EBF
RGBrgb(100, 94, 191)
HSLhsl(244, 43%, 56%)
HSVhsv(244, 51%, 75%)
CMYKcmyk(47.6%, 50.8%, 0%, 25.1%)
CIE-LABlab(44.91, 28.07, -50.40)
CIE-LCHlch(44.91, 57.69, 299.11°)
OKLaboklab(53.63% 0.0332 -0.1434)
OKLCHoklch(53.63% 0.147 283)
XYZxyz(18.6594, 14.4754, 51.0910)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EBF #B9BF5E
analogous
#5E88BF #645EBF #945EBF
triadic
#645EBF #BF645E #5EBF64
tetradic
#645EBF #BF5E88 #B9BF5E #5EBF94
square
#645EBF #BF5E88 #B9BF5E #5EBF94
split-complementary
#645EBF #BF945E #88BF5E
monochromatic
#332E74 #4640A0 #645EBF #8E8AD0 #B8B6E2

Accessibility & contrast

On white

5.39
#645EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#645EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EBF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EBF#FFFFFF#000000##FFFFFF
##645EBF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC2
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#447385
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645ebf;
/* rgb */ color: rgb(100, 94, 191);
/* oklch */ color: oklch(53.6% 0.147 283.0);
Tailwind
colors: {
  custom: {
    50: '#968bd3',
    500: '#645ebf',
    950: '#000000',
  },
}
SCSS
$custom: #645ebf;
$custom-light: #968bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#645ebf",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 243.711,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53627,
    "c": 0.14724,
    "h": 283
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#645EBF
secondary
#CED0A8
accent
#D355CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #645EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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