#645DF0#645DF0

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

Color values

HEX#645DF0
RGBrgb(100, 93, 240)
HSLhsl(243, 83%, 65%)
HSVhsv(243, 61%, 94%)
CMYKcmyk(58.3%, 61.2%, 0%, 5.9%)
CIE-LABlab(48.04, 43.86, -73.27)
CIE-LCHlch(48.04, 85.40, 300.90°)
OKLaboklab(57.02% 0.0346 -0.2107)
OKLCHoklch(57.02% 0.214 279.3)
XYZxyz(24.8931, 16.8275, 84.3575)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DF0 #E9F05D
analogous
#5DA0F0 #645DF0 #AD5DF0
triadic
#645DF0 #F0645D #5DF064
tetradic
#645DF0 #F05DA0 #E9F05D #5DF0AD
square
#645DF0 #F05DA0 #E9F05D #5DF0AD
split-complementary
#645DF0 #F0AD5D #A0F05D
monochromatic
#1A12C1 #2E25EB #645DF0 #9A95F5 #CFCDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645DF0#FFFFFF#000000##FFFFFF
##645DF01.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)
#0078F5
Deuteranopia (green-blind)
#006CED
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #645df0;
/* rgb */ color: rgb(100, 93, 240);
/* oklch */ color: oklch(57.0% 0.214 279.3);
Tailwind
colors: {
  custom: {
    50: '#9d8bf6',
    500: '#645df0',
    950: '#000000',
  },
}
SCSS
$custom: #645df0;
$custom-light: #9d8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#645df0",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 242.857,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.21352,
    "h": 279.3
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#645DF0
secondary
#EBEDBC
accent
#DF06D5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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