#646FF4#646FF4

#646FF4 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.197 H 275.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#646FF4
RGBrgb(100, 111, 244)
HSLhsl(235, 87%, 67%)
HSVhsv(235, 59%, 96%)
CMYKcmyk(59%, 54.5%, 0%, 4.3%)
CIE-LABlab(52.52, 34.42, -68.24)
CIE-LCHlch(52.52, 76.43, 296.76°)
OKLaboklab(60.42% 0.0181 -0.1958)
OKLCHoklch(60.42% 0.197 275.3)
XYZxyz(27.2638, 20.6078, 88.1114)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FF4 #F4E964
analogous
#64B7F4 #646FF4 #A164F4
triadic
#646FF4 #F4646F #6FF464
tetradic
#646FF4 #F464B7 #F4E964 #64F4A1
square
#646FF4 #F464B7 #F4E964 #64F4A1
split-complementary
#646FF4 #F4A164 #B7F464
monochromatic
#0F1DCF #2B3AF0 #646FF4 #9DA4F8 #D6D9FC

Accessibility & contrast

On white

4.10
#646FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#646FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FF4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FF4#FFFFFF#000000##000000
##646FF41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0584F9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#008EA7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #646ff4;
/* rgb */ color: rgb(100, 111, 244);
/* oklch */ color: oklch(60.4% 0.197 275.3);
Tailwind
colors: {
  custom: {
    50: '#9c98f9',
    500: '#646ff4',
    950: '#000000',
  },
}
SCSS
$custom: #646ff4;
$custom-light: #9c98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#646ff4",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 235.417,
    "s": 86.747,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.19661,
    "h": 275.3
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#646FF4
secondary
#F0EDC3
accent
#D202E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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