#646AF8#646AF8

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

Color values

HEX#646AF8
RGBrgb(100, 106, 248)
HSLhsl(238, 91%, 68%)
HSVhsv(238, 60%, 97%)
CMYKcmyk(59.7%, 57.3%, 0%, 2.7%)
CIE-LABlab(51.60, 38.70, -71.95)
CIE-LCHlch(51.60, 81.70, 298.27°)
OKLaboklab(59.83% 0.0228 -0.2067)
OKLCHoklch(59.83% 0.208 276.3)
XYZxyz(27.3473, 19.7926, 91.1680)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AF8 #F8F264
analogous
#64B4F8 #646AF8 #A864F8
triadic
#646AF8 #F8646A #6AF864
tetradic
#646AF8 #F864B4 #F8F264 #64F8A8
square
#646AF8 #F864B4 #F8F264 #64F8A8
split-complementary
#646AF8 #F8A864 #B4F864
monochromatic
#0A12D8 #2932F5 #646AF8 #9FA2FB #D9DBFD

Accessibility & contrast

On white

4.23
#646AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#646AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AF8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AF8#FFFFFF#000000##000000
##646AF81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#008CA7
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646af8;
/* rgb */ color: rgb(100, 106, 248);
/* oklch */ color: oklch(59.8% 0.208 276.3);
Tailwind
colors: {
  custom: {
    50: '#9d94fb',
    500: '#646af8',
    950: '#000000',
  },
}
SCSS
$custom: #646af8;
$custom-light: #9d94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#646af8",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 237.568,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.20798,
    "h": 276.3
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#646AF8
secondary
#F2F1C5
accent
#DC00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #646AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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