#646BE1#646BE1

#646BE1 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.176 H 276.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#646BE1
RGBrgb(100, 107, 225)
HSLhsl(237, 68%, 64%)
HSVhsv(237, 56%, 88%)
CMYKcmyk(55.6%, 52.4%, 0%, 11.8%)
CIE-LABlab(50.29, 30.75, -61.20)
CIE-LCHlch(50.29, 68.49, 296.68°)
OKLaboklab(58.35% 0.0212 -0.1751)
OKLCHoklch(58.35% 0.176 276.9)
XYZxyz(24.0995, 18.6593, 73.5512)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BE1 #E1DA64
analogous
#64A9E1 #646BE1 #9B64E1
triadic
#646BE1 #E1646B #6BE164
tetradic
#646BE1 #E164A9 #E1DA64 #64E19B
square
#646BE1 #E164A9 #E1DA64 #64E19B
split-complementary
#646BE1 #E19B64 #A9E164
monochromatic
#2129AA #313AD7 #646BE1 #979CEB #CBCDF5

Accessibility & contrast

On white

4.44
#646BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#646BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BE1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BE1#FFFFFF#000000##000000
##646BE11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#277DE5
Deuteranopia (green-blind)
#0673DF
Tritanopia (blue-blind)
#20869C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646be1;
/* rgb */ color: rgb(100, 107, 225);
/* oklch */ color: oklch(58.4% 0.176 276.9);
Tailwind
colors: {
  custom: {
    50: '#9a95eb',
    500: '#646be1',
    950: '#000000',
  },
}
SCSS
$custom: #646be1;
$custom-light: #9a95eb;
$custom-dark: #000000;
JSON
{
  "hex": "#646be1",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 225
  },
  "hsl": {
    "h": 236.64,
    "s": 67.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5835,
    "c": 0.17636,
    "h": 276.9
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#646BE1
secondary
#E6E4BA
accent
#C516CF
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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