#646CF8#646CF8

#646CF8 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.2% C 0.206 H 275.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#646CF8
RGBrgb(100, 108, 248)
HSLhsl(237, 91%, 68%)
HSVhsv(237, 60%, 97%)
CMYKcmyk(59.7%, 56.5%, 0%, 2.7%)
CIE-LABlab(52.07, 37.50, -71.19)
CIE-LCHlch(52.07, 80.46, 297.78°)
OKLaboklab(60.18% 0.0209 -0.2045)
OKLCHoklch(60.18% 0.206 275.8)
XYZxyz(27.5559, 20.2096, 91.2375)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CF8 #F8F064
analogous
#64B6F8 #646CF8 #A664F8
triadic
#646CF8 #F8646C #6CF864
tetradic
#646CF8 #F864B6 #F8F064 #64F8A6
square
#646CF8 #F864B6 #F8F064 #64F8A6
split-complementary
#646CF8 #F8A664 #B6F864
monochromatic
#0A15D8 #2934F5 #646CF8 #9FA4FB #D9DBFD

Accessibility & contrast

On white

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

On black

5.04
#646CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CF8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CF8#FFFFFF#000000##000000
##646CF81.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#008DA8
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646cf8;
/* rgb */ color: rgb(100, 108, 248);
/* oklch */ color: oklch(60.2% 0.206 275.8);
Tailwind
colors: {
  custom: {
    50: '#9d96fb',
    500: '#646cf8',
    950: '#000000',
  },
}
SCSS
$custom: #646cf8;
$custom-light: #9d96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#646cf8",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 236.757,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60175,
    "c": 0.20554,
    "h": 275.8
  },
  "luminance": 0.20212
}

Semantic roles & 50–950 ramp

primary
#646CF8
secondary
#F2F0C5
accent
#D900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #646CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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