#645EF0#645EF0

#645EF0 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.212 H 279.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#645EF0
RGBrgb(100, 94, 240)
HSLhsl(242, 83%, 65%)
HSVhsv(242, 61%, 94%)
CMYKcmyk(58.3%, 60.8%, 0%, 5.9%)
CIE-LABlab(48.27, 43.27, -72.91)
CIE-LCHlch(48.27, 84.78, 300.69°)
OKLaboklab(57.18% 0.0337 -0.2096)
OKLCHoklch(57.18% 0.212 279.1)
XYZxyz(24.9814, 17.0042, 84.3869)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EF0 #EAF05E
analogous
#5EA1F0 #645EF0 #AD5EF0
triadic
#645EF0 #F0645E #5EF064
tetradic
#645EF0 #F05EA1 #EAF05E #5EF0AD
square
#645EF0 #F05EA1 #EAF05E #5EF0AD
split-complementary
#645EF0 #F0AD5E #A1F05E
monochromatic
#1912C2 #2E26EB #645EF0 #9A96F5 #D0CEFA

Accessibility & contrast

On white

4.77
#645EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#645EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EF0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EF0#FFFFFF#000000##FFFFFF
##645EF01.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006DED
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645ef0;
/* rgb */ color: rgb(100, 94, 240);
/* oklch */ color: oklch(57.2% 0.212 279.1);
Tailwind
colors: {
  custom: {
    50: '#9d8cf6',
    500: '#645ef0',
    950: '#000000',
  },
}
SCSS
$custom: #645ef0;
$custom-light: #9d8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#645ef0",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 242.466,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57182,
    "c": 0.21232,
    "h": 279.1
  },
  "luminance": 0.17006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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