#645FE3#645FE3

#645FE3 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.4% C 0.194 H 279.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#645FE3
RGBrgb(100, 95, 227)
HSLhsl(242, 70%, 63%)
HSVhsv(242, 58%, 89%)
CMYKcmyk(55.9%, 58.1%, 0%, 11%)
CIE-LABlab(47.54, 38.62, -66.76)
CIE-LCHlch(47.54, 77.13, 300.05°)
OKLaboklab(56.35% 0.0332 -0.1916)
OKLCHoklch(56.35% 0.194 279.8)
XYZxyz(23.2085, 16.4383, 74.6081)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FE3 #DEE35F
analogous
#5F9CE3 #645FE3 #A65FE3
triadic
#645FE3 #E3645F #5FE364
tetradic
#645FE3 #E35F9C #DEE35F #5FE3A6
square
#645FE3 #E35F9C #DEE35F #5FE3A6
split-complementary
#645FE3 #E3A65F #9CE35F
monochromatic
#231EAA #322BDA #645FE3 #9693EC #C9C7F5

Accessibility & contrast

On white

4.90
#645FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#645FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FE3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FE3#FFFFFF#000000##FFFFFF
##645FE31.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#1F7E98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645fe3;
/* rgb */ color: rgb(100, 95, 227);
/* oklch */ color: oklch(56.4% 0.194 279.8);
Tailwind
colors: {
  custom: {
    50: '#9b8ced',
    500: '#645fe3',
    950: '#000000',
  },
}
SCSS
$custom: #645fe3;
$custom-light: #9b8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#645fe3",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 242.273,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56353,
    "c": 0.19442,
    "h": 279.8
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#645FE3
secondary
#E5E7B7
accent
#D213CB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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