#645FEB#645FEB

#645FEB is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.0% C 0.205 H 279.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#645FEB
RGBrgb(100, 95, 235)
HSLhsl(242, 78%, 65%)
HSVhsv(242, 60%, 92%)
CMYKcmyk(57.4%, 59.6%, 0%, 7.8%)
CIE-LABlab(48.12, 41.12, -70.34)
CIE-LCHlch(48.12, 81.48, 300.31°)
OKLaboklab(56.96% 0.033 -0.2021)
OKLCHoklch(56.96% 0.205 279.3)
XYZxyz(24.3384, 16.8902, 80.5588)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FEB #E6EB5F
analogous
#5FA0EB #645FEB #AA5FEB
triadic
#645FEB #EB645F #5FEB64
tetradic
#645FEB #EB5FA0 #E6EB5F #5FEBAA
square
#645FEB #EB5FA0 #E6EB5F #5FEBAA
split-complementary
#645FEB #EBAA5F #A0EB5F
monochromatic
#1D17B9 #2F29E4 #645FEB #9995F2 #CDCCF9

Accessibility & contrast

On white

4.80
#645FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#645FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FEB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FEB#FFFFFF#000000##FFFFFF
##645FEB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#09819C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #645feb;
/* rgb */ color: rgb(100, 95, 235);
/* oklch */ color: oklch(57.0% 0.205 279.3);
Tailwind
colors: {
  custom: {
    50: '#9c8df2',
    500: '#645feb',
    950: '#000000',
  },
}
SCSS
$custom: #645feb;
$custom-light: #9c8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#645feb",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 242.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5696,
    "c": 0.20474,
    "h": 279.3
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

primary
#645FEB
secondary
#E9EBBB
accent
#DA0BD3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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