#646BE2#646BE2

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

Color values

HEX#646BE2
RGBrgb(100, 107, 226)
HSLhsl(237, 68%, 64%)
HSVhsv(237, 56%, 89%)
CMYKcmyk(55.8%, 52.7%, 0%, 11.4%)
CIE-LABlab(50.35, 31.07, -61.66)
CIE-LCHlch(50.35, 69.04, 296.74°)
OKLaboklab(58.42% 0.0212 -0.1764)
OKLCHoklch(58.42% 0.178 276.9)
XYZxyz(24.2363, 18.7140, 74.2718)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BE2 #E2DB64
analogous
#64AAE2 #646BE2 #9C64E2
triadic
#646BE2 #E2646B #6BE264
tetradic
#646BE2 #E264AA #E2DB64 #64E29C
square
#646BE2 #E264AA #E2DB64 #64E29C
split-complementary
#646BE2 #E29C64 #AAE264
monochromatic
#2028AC #303AD8 #646BE2 #989CEC #CBCDF5

Accessibility & contrast

On white

4.43
#646BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#646BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BE2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BE2#FFFFFF#000000##000000
##646BE21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#257DE6
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#1E869C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646be2;
/* rgb */ color: rgb(100, 107, 226);
/* oklch */ color: oklch(58.4% 0.178 276.9);
Tailwind
colors: {
  custom: {
    50: '#9a95ec',
    500: '#646be2',
    950: '#000000',
  },
}
SCSS
$custom: #646be2;
$custom-light: #9a95ec;
$custom-dark: #000000;
JSON
{
  "hex": "#646be2",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 236.667,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5842,
    "c": 0.17772,
    "h": 276.9
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#646BE2
secondary
#E7E5BB
accent
#C615D0
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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