#645EFB#645EFB

#645EFB is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.1% C 0.226 H 278.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#645EFB
RGBrgb(100, 94, 251)
HSLhsl(242, 95%, 68%)
HSVhsv(242, 63%, 98%)
CMYKcmyk(60.2%, 62.5%, 0%, 1.6%)
CIE-LABlab(49.10, 46.70, -77.69)
CIE-LCHlch(49.10, 90.64, 301.01°)
OKLaboklab(58.06% 0.033 -0.2237)
OKLCHoklch(58.06% 0.226 278.4)
XYZxyz(26.6652, 17.6777, 93.2551)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EFB #F5FB5E
analogous
#5EA6FB #645EFB #B25EFB
triadic
#645EFB #FB645E #5EFB64
tetradic
#645EFB #FB5EA6 #F5FB5E #5EFBB2
square
#645EFB #FB5EA6 #F5FB5E #5EFBB2
split-complementary
#645EFB #FBB25E #A6FB5E
monochromatic
#0D05D9 #2B22FA #645EFB #9D9AFC #D7D5FE

Accessibility & contrast

On white

4.63
#645EFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#645EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #645EFB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EFB#FFFFFF#000000##FFFFFF
##645EFB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#006EF8
Tritanopia (blue-blind)
#0086A4
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #645efb;
/* rgb */ color: rgb(100, 94, 251);
/* oklch */ color: oklch(58.1% 0.226 278.4);
Tailwind
colors: {
  custom: {
    50: '#9e8cfe',
    500: '#645efb',
    950: '#000000',
  },
}
SCSS
$custom: #645efb;
$custom-light: #9e8cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#645efb",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 242.293,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.22609,
    "h": 278.4
  },
  "luminance": 0.1768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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