#646CF6#646CF6

#646CF6 is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.0% C 0.203 H 275.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#646CF6
RGBrgb(100, 108, 246)
HSLhsl(237, 89%, 68%)
HSVhsv(237, 59%, 96%)
CMYKcmyk(59.3%, 56.1%, 0%, 3.5%)
CIE-LABlab(51.93, 36.86, -70.30)
CIE-LCHlch(51.93, 79.38, 297.67°)
OKLaboklab(60.03% 0.0209 -0.2019)
OKLCHoklch(60.03% 0.203 275.9)
XYZxyz(27.2472, 20.0862, 89.6121)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CF6 #F6EE64
analogous
#64B5F6 #646CF6 #A564F6
triadic
#646CF6 #F6646C #6CF664
tetradic
#646CF6 #F664B5 #F6EE64 #64F6A5
square
#646CF6 #F664B5 #F6EE64 #64F6A5
split-complementary
#646CF6 #F6A564 #B5F664
monochromatic
#0C17D3 #2A35F3 #646CF6 #9EA3F9 #D8DAFD

Accessibility & contrast

On white

4.19
#646CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#646CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CF6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CF6#FFFFFF#000000##000000
##646CF61.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#008DA7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646cf6;
/* rgb */ color: rgb(100, 108, 246);
/* oklch */ color: oklch(60.0% 0.203 275.9);
Tailwind
colors: {
  custom: {
    50: '#9d96fa',
    500: '#646cf6',
    950: '#000000',
  },
}
SCSS
$custom: #646cf6;
$custom-light: #9d96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#646cf6",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 236.712,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.20294,
    "h": 275.9
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#646CF6
secondary
#F1EFC4
accent
#D900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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