#646AFF#646AFF

#646AFF is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.4% C 0.217 H 276.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#646AFF
RGBrgb(100, 106, 255)
HSLhsl(238, 100%, 70%)
HSVhsv(238, 61%, 100%)
CMYKcmyk(60.8%, 58.4%, 0%, 0%)
CIE-LABlab(52.10, 40.94, -75.02)
CIE-LCHlch(52.10, 85.46, 298.62°)
OKLaboklab(60.35% 0.0227 -0.2158)
OKLCHoklch(60.35% 0.217 276)
XYZxyz(28.4537, 20.2351, 96.9947)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AFF #FFF964
analogous
#64B8FF #646AFF #AB64FF
triadic
#646AFF #FF646A #6AFF64
tetradic
#646AFF #FF64B8 #FFF964 #64FFAB
square
#646AFF #FF64B8 #FFF964 #64FFAB
split-complementary
#646AFF #FFAB64 #B8FF64
monochromatic
#0009E9 #272FFF #646AFF #A1A5FF #DEE0FF

Accessibility & contrast

On white

4.16
#646AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#646AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AFF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AFF#FFFFFF#000000##000000
##646AFF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0076FC
Tritanopia (blue-blind)
#008EAA
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646aff;
/* rgb */ color: rgb(100, 106, 255);
/* oklch */ color: oklch(60.4% 0.217 276.0);
Tailwind
colors: {
  custom: {
    50: '#9e94ff',
    500: '#646aff',
    950: '#000000',
  },
}
SCSS
$custom: #646aff;
$custom-light: #9e94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#646aff",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 237.677,
    "s": 100,
    "l": 69.608
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.21695,
    "h": 276
  },
  "luminance": 0.20237
}

Semantic roles & 50–950 ramp

primary
#646AFF
secondary
#F6F4C9
accent
#DD00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #646AFF

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

Preview Lab → · Contrast checker → · Palette generator →

#646AFF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva