#646FF8#646FF8

#646FF8 is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 60.7% C 0.202 H 275.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#646FF8
RGBrgb(100, 111, 248)
HSLhsl(236, 91%, 68%)
HSVhsv(236, 60%, 97%)
CMYKcmyk(59.7%, 55.2%, 0%, 2.7%)
CIE-LABlab(52.79, 35.71, -70.03)
CIE-LCHlch(52.79, 78.60, 297.02°)
OKLaboklab(60.71% 0.0182 -0.201)
OKLCHoklch(60.71% 0.202 275.2)
XYZxyz(27.8777, 20.8533, 91.3448)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FF8 #F8ED64
analogous
#64B9F8 #646FF8 #A364F8
triadic
#646FF8 #F8646F #6FF864
tetradic
#646FF8 #F864B9 #F8ED64 #64F8A3
square
#646FF8 #F864B9 #F8ED64 #64F8A3
split-complementary
#646FF8 #F8A364 #B9F864
monochromatic
#0A19D8 #2939F5 #646FF8 #9FA5FB #D9DCFD

Accessibility & contrast

On white

4.06
#646FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#646FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FF8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FF8#FFFFFF#000000##000000
##646FF81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#008FA9
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #646ff8;
/* rgb */ color: rgb(100, 111, 248);
/* oklch */ color: oklch(60.7% 0.202 275.2);
Tailwind
colors: {
  custom: {
    50: '#9d98fb',
    500: '#646ff8',
    950: '#000000',
  },
}
SCSS
$custom: #646ff8;
$custom-light: #9d98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#646ff8",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 235.541,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.20185,
    "h": 275.2
  },
  "luminance": 0.20856
}

Semantic roles & 50–950 ramp

primary
#646FF8
secondary
#F2EFC5
accent
#D400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #646FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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