#646AF6#646AF6

#646AF6 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 59.7% C 0.205 H 276.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#646AF6
RGBrgb(100, 106, 246)
HSLhsl(238, 89%, 68%)
HSVhsv(238, 59%, 96%)
CMYKcmyk(59.3%, 56.9%, 0%, 3.5%)
CIE-LABlab(51.46, 38.06, -71.07)
CIE-LCHlch(51.46, 80.62, 298.17°)
OKLaboklab(59.68% 0.0228 -0.2041)
OKLCHoklch(59.68% 0.205 276.4)
XYZxyz(27.0387, 19.6692, 89.5426)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AF6 #F6F064
analogous
#64B3F6 #646AF6 #A764F6
triadic
#646AF6 #F6646A #6AF664
tetradic
#646AF6 #F664B3 #F6F064 #64F6A7
square
#646AF6 #F664B3 #F6F064 #64F6A7
split-complementary
#646AF6 #F6A764 #B3F664
monochromatic
#0C14D3 #2A32F3 #646AF6 #9EA2F9 #D8D9FD

Accessibility & contrast

On white

4.26
#646AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#646AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AF6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AF6#FFFFFF#000000##000000
##646AF61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#008BA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646af6;
/* rgb */ color: rgb(100, 106, 246);
/* oklch */ color: oklch(59.7% 0.205 276.4);
Tailwind
colors: {
  custom: {
    50: '#9d94fa',
    500: '#646af6',
    950: '#000000',
  },
}
SCSS
$custom: #646af6;
$custom-light: #9d94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#646af6",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 237.534,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.20539,
    "h": 276.4
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

primary
#646AF6
secondary
#F1F0C4
accent
#DC00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #646AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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