#646BF6#646BF6

#646BF6 is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.9% C 0.204 H 276.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#646BF6
RGBrgb(100, 107, 246)
HSLhsl(237, 89%, 68%)
HSVhsv(237, 59%, 96%)
CMYKcmyk(59.3%, 56.5%, 0%, 3.5%)
CIE-LABlab(51.70, 37.46, -70.68)
CIE-LCHlch(51.70, 80.00, 297.92°)
OKLaboklab(59.85% 0.0218 -0.203)
OKLCHoklch(59.85% 0.204 276.1)
XYZxyz(27.1424, 19.8765, 89.5771)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BF6 #F6EF64
analogous
#64B4F6 #646BF6 #A664F6
triadic
#646BF6 #F6646B #6BF664
tetradic
#646BF6 #F664B4 #F6EF64 #64F6A6
square
#646BF6 #F664B4 #F6EF64 #64F6A6
split-complementary
#646BF6 #F6A664 #B4F664
monochromatic
#0C16D3 #2A34F3 #646BF6 #9EA2F9 #D8D9FD

Accessibility & contrast

On white

4.22
#646BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#646BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BF6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BF6#FFFFFF#000000##000000
##646BF61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646bf6;
/* rgb */ color: rgb(100, 107, 246);
/* oklch */ color: oklch(59.9% 0.204 276.1);
Tailwind
colors: {
  custom: {
    50: '#9d95fa',
    500: '#646bf6',
    950: '#000000',
  },
}
SCSS
$custom: #646bf6;
$custom-light: #9d95fa;
$custom-dark: #000000;
JSON
{
  "hex": "#646bf6",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 237.123,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.20417,
    "h": 276.1
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#646BF6
secondary
#F1EFC4
accent
#DA00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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