#645CF3#645CF3

#645CF3 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.218 H 279.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#645CF3
RGBrgb(100, 92, 243)
HSLhsl(243, 86%, 66%)
HSVhsv(243, 62%, 95%)
CMYKcmyk(58.8%, 62.1%, 0%, 4.7%)
CIE-LABlab(48.05, 45.37, -74.94)
CIE-LCHlch(48.05, 87.61, 301.19°)
OKLaboklab(57.09% 0.0352 -0.2156)
OKLCHoklch(57.09% 0.218 279.3)
XYZxyz(25.2552, 16.8329, 86.6949)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CF3 #EBF35C
analogous
#5C9FF3 #645CF3 #AF5CF3
triadic
#645CF3 #F3645C #5CF364
tetradic
#645CF3 #F35C9F #EBF35C #5CF3AF
square
#645CF3 #F35C9F #EBF35C #5CF3AF
split-complementary
#645CF3 #F3AF5C #9FF35C
monochromatic
#180FC6 #2E23EF #645CF3 #9A95F7 #D0CEFB

Accessibility & contrast

On white

4.81
#645CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#645CF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CF3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CF3#FFFFFF#000000##FFFFFF
##645CF31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#006CF0
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #645cf3;
/* rgb */ color: rgb(100, 92, 243);
/* oklch */ color: oklch(57.1% 0.218 279.3);
Tailwind
colors: {
  custom: {
    50: '#9d8bf8',
    500: '#645cf3',
    950: '#000000',
  },
}
SCSS
$custom: #645cf3;
$custom-light: #9d8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#645cf3",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 243.179,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57094,
    "c": 0.21847,
    "h": 279.3
  },
  "luminance": 0.16835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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