#646DF5#646DF5

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

Color values

HEX#646DF5
RGBrgb(100, 109, 245)
HSLhsl(236, 88%, 68%)
HSVhsv(236, 59%, 96%)
CMYKcmyk(59.2%, 55.5%, 0%, 3.9%)
CIE-LABlab(52.10, 35.94, -69.47)
CIE-LCHlch(52.10, 78.21, 297.36°)
OKLaboklab(60.13% 0.02 -0.1994)
OKLCHoklch(60.13% 0.2 275.7)
XYZxyz(27.2002, 20.2371, 88.8413)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DF5 #F5EC64
analogous
#64B5F5 #646DF5 #A464F5
triadic
#646DF5 #F5646D #6DF564
tetradic
#646DF5 #F564B5 #F5EC64 #64F5A4
square
#646DF5 #F564B5 #F5EC64 #64F5A4
split-complementary
#646DF5 #F5A464 #B5F564
monochromatic
#0D1AD1 #2B37F1 #646DF5 #9DA3F9 #D7D9FC

Accessibility & contrast

On white

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

On black

5.05
#646DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DF5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DF5#FFFFFF#000000##000000
##646DF51.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646df5;
/* rgb */ color: rgb(100, 109, 245);
/* oklch */ color: oklch(60.1% 0.200 275.7);
Tailwind
colors: {
  custom: {
    50: '#9d96f9',
    500: '#646df5',
    950: '#000000',
  },
}
SCSS
$custom: #646df5;
$custom-light: #9d96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#646df5",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 236.276,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60133,
    "c": 0.2004,
    "h": 275.7
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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