#646BEF#646BEF

#646BEF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.3% C 0.195 H 276.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#646BEF
RGBrgb(100, 107, 239)
HSLhsl(237, 81%, 66%)
HSVhsv(237, 58%, 94%)
CMYKcmyk(58.2%, 55.2%, 0%, 6.3%)
CIE-LABlab(51.22, 35.22, -67.56)
CIE-LCHlch(51.22, 76.19, 297.53°)
OKLaboklab(59.34% 0.0217 -0.1938)
OKLCHoklch(59.34% 0.195 276.4)
XYZxyz(26.0882, 19.4548, 84.0250)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BEF #EFE864
analogous
#64B1EF #646BEF #A364EF
triadic
#646BEF #EF646B #6BEF64
tetradic
#646BEF #EF64B1 #EFE864 #64EFA3
square
#646BEF #EF64B1 #EFE864 #64EFA3
split-complementary
#646BEF #EFA364 #B1EF64
monochromatic
#141DC4 #2D36E9 #646BEF #9BA0F5 #D3D5FA

Accessibility & contrast

On white

4.29
#646BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#646BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BEF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BEF#FFFFFF#000000##000000
##646BEF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646bef;
/* rgb */ color: rgb(100, 107, 239);
/* oklch */ color: oklch(59.3% 0.195 276.4);
Tailwind
colors: {
  custom: {
    50: '#9c95f5',
    500: '#646bef',
    950: '#000000',
  },
}
SCSS
$custom: #646bef;
$custom-light: #9c95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#646bef",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 236.978,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.5934,
    "c": 0.19502,
    "h": 276.4
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

primary
#646BEF
secondary
#EEECC1
accent
#D308DE
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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