#646BEC#646BEC

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

Color values

HEX#646BEC
RGBrgb(100, 107, 236)
HSLhsl(237, 78%, 66%)
HSVhsv(237, 58%, 93%)
CMYKcmyk(57.6%, 54.7%, 0%, 7.5%)
CIE-LABlab(51.01, 34.26, -66.21)
CIE-LCHlch(51.01, 74.55, 297.36°)
OKLaboklab(59.12% 0.0216 -0.1898)
OKLCHoklch(59.12% 0.191 276.5)
XYZxyz(25.6487, 19.2790, 81.7102)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BEC #ECE564
analogous
#64AFEC #646BEC #A164EC
triadic
#646BEC #EC646B #6BEC64
tetradic
#646BEC #EC64AF #ECE564 #64ECA1
square
#646BEC #EC64AF #ECE564 #64ECA1
split-complementary
#646BEC #ECA164 #AFEC64
monochromatic
#1720BE #2D37E5 #646BEC #9B9FF3 #D1D3F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646BEC#FFFFFF#000000##000000
##646BEC1.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)
#087FF0
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646bec;
/* rgb */ color: rgb(100, 107, 236);
/* oklch */ color: oklch(59.1% 0.191 276.5);
Tailwind
colors: {
  custom: {
    50: '#9b95f3',
    500: '#646bec',
    950: '#000000',
  },
}
SCSS
$custom: #646bec;
$custom-light: #9b95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#646bec",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 236.912,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.19107,
    "h": 276.5
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#646BEC
secondary
#ECEABF
accent
#D00BDA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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