#646AF7#646AF7

#646AF7 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 59.8% C 0.207 H 276.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#646AF7
RGBrgb(100, 106, 247)
HSLhsl(238, 90%, 68%)
HSVhsv(238, 60%, 97%)
CMYKcmyk(59.5%, 57.1%, 0%, 3.1%)
CIE-LABlab(51.53, 38.38, -71.51)
CIE-LCHlch(51.53, 81.16, 298.22°)
OKLaboklab(59.75% 0.0228 -0.2054)
OKLCHoklch(59.75% 0.207 276.3)
XYZxyz(27.1926, 19.7307, 90.3531)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AF7 #F7F164
analogous
#64B3F7 #646AF7 #A764F7
triadic
#646AF7 #F7646A #6AF764
tetradic
#646AF7 #F764B3 #F7F164 #64F7A7
square
#646AF7 #F764B3 #F7F164 #64F7A7
split-complementary
#646AF7 #F7A764 #B3F764
monochromatic
#0B13D6 #2A32F4 #646AF7 #9EA2FA #D8DAFD

Accessibility & contrast

On white

4.25
#646AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#646AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AF7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AF7#FFFFFF#000000##000000
##646AF71.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#008CA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646af7;
/* rgb */ color: rgb(100, 106, 247);
/* oklch */ color: oklch(59.8% 0.207 276.3);
Tailwind
colors: {
  custom: {
    50: '#9d94fb',
    500: '#646af7',
    950: '#000000',
  },
}
SCSS
$custom: #646af7;
$custom-light: #9d94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#646af7",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 237.551,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.2067,
    "h": 276.3
  },
  "luminance": 0.19733
}

Semantic roles & 50–950 ramp

primary
#646AF7
secondary
#F2F0C5
accent
#DC00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #646AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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