#646FF5#646FF5

#646FF5 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.5% C 0.198 H 275.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#646FF5
RGBrgb(100, 111, 245)
HSLhsl(235, 88%, 68%)
HSVhsv(235, 59%, 96%)
CMYKcmyk(59.2%, 54.7%, 0%, 3.9%)
CIE-LABlab(52.59, 34.74, -68.69)
CIE-LCHlch(52.59, 76.97, 296.83°)
OKLaboklab(60.49% 0.0181 -0.1971)
OKLCHoklch(60.49% 0.198 275.3)
XYZxyz(27.4160, 20.6687, 88.9132)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FF5 #F5EA64
analogous
#64B8F5 #646FF5 #A164F5
triadic
#646FF5 #F5646F #6FF564
tetradic
#646FF5 #F564B8 #F5EA64 #64F5A1
square
#646FF5 #F564B8 #F5EA64 #64F5A1
split-complementary
#646FF5 #F5A164 #B8F564
monochromatic
#0D1CD1 #2B3AF1 #646FF5 #9DA4F9 #D7DAFC

Accessibility & contrast

On white

4.09
#646FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#646FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FF5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FF5#FFFFFF#000000##000000
##646FF51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#008FA7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #646ff5;
/* rgb */ color: rgb(100, 111, 245);
/* oklch */ color: oklch(60.5% 0.198 275.3);
Tailwind
colors: {
  custom: {
    50: '#9c98f9',
    500: '#646ff5',
    950: '#000000',
  },
}
SCSS
$custom: #646ff5;
$custom-light: #9c98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#646ff5",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 235.448,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60491,
    "c": 0.19793,
    "h": 275.3
  },
  "luminance": 0.20671
}

Semantic roles & 50–950 ramp

primary
#646FF5
secondary
#F1EDC4
accent
#D301E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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