#646AF0#646AF0

#646AF0 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.2% C 0.198 H 276.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#646AF0
RGBrgb(100, 106, 240)
HSLhsl(237, 82%, 67%)
HSVhsv(237, 58%, 94%)
CMYKcmyk(58.3%, 55.8%, 0%, 5.9%)
CIE-LABlab(51.04, 36.14, -68.40)
CIE-LCHlch(51.04, 77.36, 297.85°)
OKLaboklab(59.24% 0.0227 -0.1963)
OKLCHoklch(59.24% 0.198 276.6)
XYZxyz(26.1327, 19.3067, 84.7707)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AF0 #F0EA64
analogous
#64B0F0 #646AF0 #A464F0
triadic
#646AF0 #F0646A #6AF064
tetradic
#646AF0 #F064B0 #F0EA64 #64F0A4
square
#646AF0 #F064B0 #F0EA64 #64F0A4
split-complementary
#646AF0 #F0A464 #B0F064
monochromatic
#131BC6 #2C34EB #646AF0 #9CA0F5 #D4D5FB

Accessibility & contrast

On white

4.32
#646AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#646AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AF0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AF0#FFFFFF#000000##000000
##646AF01.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#008AA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646af0;
/* rgb */ color: rgb(100, 106, 240);
/* oklch */ color: oklch(59.2% 0.198 276.6);
Tailwind
colors: {
  custom: {
    50: '#9c94f6',
    500: '#646af0',
    950: '#000000',
  },
}
SCSS
$custom: #646af0;
$custom-light: #9c94f6;
$custom-dark: #000000;
JSON
{
  "hex": "#646af0",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 240
  },
  "hsl": {
    "h": 237.429,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59235,
    "c": 0.19759,
    "h": 276.6
  },
  "luminance": 0.19309
}

Semantic roles & 50–950 ramp

primary
#646AF0
secondary
#EEEDC1
accent
#D507DF
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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