#646FF1#646FF1

#646FF1 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.2% C 0.193 H 275.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#646FF1
RGBrgb(100, 111, 241)
HSLhsl(235, 83%, 67%)
HSVhsv(235, 59%, 95%)
CMYKcmyk(58.5%, 53.9%, 0%, 5.5%)
CIE-LABlab(52.32, 33.45, -66.89)
CIE-LCHlch(52.32, 74.79, 296.57°)
OKLaboklab(60.21% 0.018 -0.1918)
OKLCHoklch(60.21% 0.193 275.4)
XYZxyz(26.8120, 20.4270, 85.7319)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FF1 #F1E664
analogous
#64B6F1 #646FF1 #A064F1
triadic
#646FF1 #F1646F #6FF164
tetradic
#646FF1 #F164B6 #F1E664 #64F1A0
square
#646FF1 #F164B6 #F1E664 #64F1A0
split-complementary
#646FF1 #F1A064 #B6F164
monochromatic
#1220C8 #2C3BEC #646FF1 #9CA3F6 #D4D7FB

Accessibility & contrast

On white

4.13
#646FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#646FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FF1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FF1#FFFFFF#000000##000000
##646FF11.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1383F5
Deuteranopia (green-blind)
#0077EE
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #646ff1;
/* rgb */ color: rgb(100, 111, 241);
/* oklch */ color: oklch(60.2% 0.193 275.4);
Tailwind
colors: {
  custom: {
    50: '#9c98f6',
    500: '#646ff1',
    950: '#000000',
  },
}
SCSS
$custom: #646ff1;
$custom-light: #9c98f6;
$custom-dark: #000000;
JSON
{
  "hex": "#646ff1",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 241
  },
  "hsl": {
    "h": 235.319,
    "s": 83.432,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60206,
    "c": 0.19266,
    "h": 275.4
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#646FF1
secondary
#EFEBC2
accent
#CF06E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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