#645EFA#645EFA

#645EFA is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 58.0% C 0.225 H 278.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#645EFA
RGBrgb(100, 94, 250)
HSLhsl(242, 94%, 67%)
HSVhsv(242, 62%, 98%)
CMYKcmyk(60%, 62.4%, 0%, 2%)
CIE-LABlab(49.03, 46.39, -77.26)
CIE-LCHlch(49.03, 90.12, 300.98°)
OKLaboklab(57.98% 0.033 -0.2224)
OKLCHoklch(57.98% 0.225 278.5)
XYZxyz(26.5080, 17.6149, 92.4271)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EFA #F4FA5E
analogous
#5EA6FA #645EFA #B25EFA
triadic
#645EFA #FA645E #5EFA64
tetradic
#645EFA #FA5EA6 #F4FA5E #5EFAB2
square
#645EFA #FA5EA6 #F4FA5E #5EFAB2
split-complementary
#645EFA #FAB25E #A6FA5E
monochromatic
#0F07D7 #2B23F8 #645EFA #9D99FC #D6D5FE

Accessibility & contrast

On white

4.64
#645EFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#645EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #645EFA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EFA#FFFFFF#000000##FFFFFF
##645EFA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#006EF7
Tritanopia (blue-blind)
#0085A3
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #645efa;
/* rgb */ color: rgb(100, 94, 250);
/* oklch */ color: oklch(58.0% 0.225 278.5);
Tailwind
colors: {
  custom: {
    50: '#9e8cfd',
    500: '#645efa',
    950: '#000000',
  },
}
SCSS
$custom: #645efa;
$custom-light: #9e8cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#645efa",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 250
  },
  "hsl": {
    "h": 242.308,
    "s": 93.976,
    "l": 67.451
  },
  "oklch": {
    "l": 0.57975,
    "c": 0.22484,
    "h": 278.5
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#645EFA
secondary
#F0F2C1
accent
#E600DD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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