#645FBB#645FBB

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

Color values

HEX#645FBB
RGBrgb(100, 95, 187)
HSLhsl(243, 40%, 55%)
HSVhsv(243, 49%, 73%)
CMYKcmyk(46.5%, 49.2%, 0%, 26.7%)
CIE-LABlab(44.91, 26.23, -48.07)
CIE-LCHlch(44.91, 54.76, 298.62°)
OKLaboklab(53.55% 0.0316 -0.1366)
OKLCHoklch(53.55% 0.14 283)
XYZxyz(18.3147, 14.4807, 48.8341)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FBB #B6BB5F
analogous
#5F88BB #645FBB #925FBB
triadic
#645FBB #BB645F #5FBB64
tetradic
#645FBB #BB5F88 #B6BB5F #5FBB92
square
#645FBB #BB5F88 #B6BB5F #5FBB92
split-complementary
#645FBB #BB925F #88BB5F
monochromatic
#333070 #47429B #645FBB #8E8ACD #B7B5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645FBB#FFFFFF#000000##FFFFFF
##645FBB1.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)
#376DBE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#477384
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645fbb;
/* rgb */ color: rgb(100, 95, 187);
/* oklch */ color: oklch(53.6% 0.140 283.0);
Tailwind
colors: {
  custom: {
    50: '#958cd0',
    500: '#645fbb',
    950: '#000000',
  },
}
SCSS
$custom: #645fbb;
$custom-light: #958cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#645fbb",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 243.261,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.14019,
    "h": 283
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#645FBB
secondary
#CCCEA8
accent
#D058CA
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #645FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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