#645BF4#645BF4

#645BF4 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.0% C 0.221 H 279.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#645BF4
RGBrgb(100, 91, 244)
HSLhsl(244, 87%, 66%)
HSVhsv(244, 63%, 96%)
CMYKcmyk(59%, 62.7%, 0%, 4.3%)
CIE-LABlab(47.91, 46.26, -75.73)
CIE-LCHlch(47.91, 88.74, 301.42°)
OKLaboklab(57.01% 0.036 -0.2179)
OKLCHoklch(57.01% 0.221 279.4)
XYZxyz(25.3206, 16.7213, 87.4637)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BF4 #EBF45B
analogous
#5B9FF4 #645BF4 #B05BF4
triadic
#645BF4 #F4645B #5BF464
tetradic
#645BF4 #F45B9F #EBF45B #5BF4B0
square
#645BF4 #F45B9F #EBF45B #5BF4B0
split-complementary
#645BF4 #F4B05B #9FF45B
monochromatic
#180DC7 #2E22F0 #645BF4 #9A94F8 #D0CEFC

Accessibility & contrast

On white

4.83
#645BF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#645BF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BF4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BF4#FFFFFF#000000##FFFFFF
##645BF41.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006CF1
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #645bf4;
/* rgb */ color: rgb(100, 91, 244);
/* oklch */ color: oklch(57.0% 0.221 279.4);
Tailwind
colors: {
  custom: {
    50: '#9e8af9',
    500: '#645bf4',
    950: '#000000',
  },
}
SCSS
$custom: #645bf4;
$custom-light: #9e8af9;
$custom-dark: #000000;
JSON
{
  "hex": "#645bf4",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 243.529,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.22089,
    "h": 279.4
  },
  "luminance": 0.16723
}

Semantic roles & 50–950 ramp

primary
#645BF4
secondary
#ECEFBC
accent
#E402D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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