#646CF5#646CF5

#646CF5 is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 60.0% C 0.202 H 276.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#646CF5
RGBrgb(100, 108, 245)
HSLhsl(237, 88%, 68%)
HSVhsv(237, 59%, 96%)
CMYKcmyk(59.2%, 55.9%, 0%, 3.9%)
CIE-LABlab(51.87, 36.54, -69.85)
CIE-LCHlch(51.87, 78.83, 297.62°)
OKLaboklab(59.96% 0.0209 -0.2005)
OKLCHoklch(59.96% 0.202 276)
XYZxyz(27.0942, 20.0250, 88.8059)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CF5 #F5ED64
analogous
#64B4F5 #646CF5 #A564F5
triadic
#646CF5 #F5646C #6CF564
tetradic
#646CF5 #F564B4 #F5ED64 #64F5A5
square
#646CF5 #F564B4 #F5ED64 #64F5A5
split-complementary
#646CF5 #F5A564 #B4F564
monochromatic
#0D18D1 #2B35F1 #646CF5 #9DA3F9 #D7D9FC

Accessibility & contrast

On white

4.20
#646CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#646CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CF5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CF5#FFFFFF#000000##000000
##646CF51.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#008DA6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646cf5;
/* rgb */ color: rgb(100, 108, 245);
/* oklch */ color: oklch(60.0% 0.202 276.0);
Tailwind
colors: {
  custom: {
    50: '#9d96f9',
    500: '#646cf5',
    950: '#000000',
  },
}
SCSS
$custom: #646cf5;
$custom-light: #9d96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#646cf5",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 236.69,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.20164,
    "h": 276
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#646CF5
secondary
#F1EEC4
accent
#D801E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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