#645FBC#645FBC

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

Color values

HEX#645FBC
RGBrgb(100, 95, 188)
HSLhsl(243, 41%, 55%)
HSVhsv(243, 49%, 74%)
CMYKcmyk(46.8%, 49.5%, 0%, 26.3%)
CIE-LABlab(44.97, 26.54, -48.55)
CIE-LCHlch(44.97, 55.33, 298.66°)
OKLaboklab(53.62% 0.0317 -0.138)
OKLCHoklch(53.62% 0.142 282.9)
XYZxyz(18.4221, 14.5237, 49.3999)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FBC #B7BC5F
analogous
#5F88BC #645FBC #925FBC
triadic
#645FBC #BC645F #5FBC64
tetradic
#645FBC #BC5F88 #B7BC5F #5FBC92
square
#645FBC #BC5F88 #B7BC5F #5FBC92
split-complementary
#645FBC #BC925F #88BC5F
monochromatic
#332F71 #46419C #645FBC #8E8ACE #B8B5E0

Accessibility & contrast

On white

5.38
#645FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645FBC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FBC#FFFFFF#000000##FFFFFF
##645FBC1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EBF
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#467384
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645fbc;
/* rgb */ color: rgb(100, 95, 188);
/* oklch */ color: oklch(53.6% 0.142 282.9);
Tailwind
colors: {
  custom: {
    50: '#958cd1',
    500: '#645fbc',
    950: '#000000',
  },
}
SCSS
$custom: #645fbc;
$custom-light: #958cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#645fbc",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 243.226,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53618,
    "c": 0.1416,
    "h": 282.9
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#645FBC
secondary
#CDCFA8
accent
#D157CA
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #645FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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