#646FE5#646FE5

#646FE5 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.4% C 0.177 H 275.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#646FE5
RGBrgb(100, 111, 229)
HSLhsl(235, 71%, 65%)
HSVhsv(235, 56%, 90%)
CMYKcmyk(56.3%, 51.5%, 0%, 10.2%)
CIE-LABlab(51.53, 29.60, -61.44)
CIE-LCHlch(51.53, 68.20, 295.72°)
OKLaboklab(59.37% 0.0173 -0.1758)
OKLCHoklch(59.37% 0.177 275.6)
XYZxyz(25.0783, 19.7336, 76.6010)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FE5 #E5DA64
analogous
#64AFE5 #646FE5 #9A64E5
triadic
#646FE5 #E5646F #6FE564
tetradic
#646FE5 #E564AF #E5DA64 #64E59A
square
#646FE5 #E564AF #E5DA64 #64E59A
split-complementary
#646FE5 #E59A64 #AFE564
monochromatic
#1E2AB1 #303EDC #646FE5 #98A0EE #CDD0F7

Accessibility & contrast

On white

4.24
#646FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#646FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FE5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FE5#FFFFFF#000000##000000
##646FE51.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E9
Deuteranopia (green-blind)
#1076E3
Tritanopia (blue-blind)
#158A9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646fe5;
/* rgb */ color: rgb(100, 111, 229);
/* oklch */ color: oklch(59.4% 0.177 275.6);
Tailwind
colors: {
  custom: {
    50: '#9a98ee',
    500: '#646fe5',
    950: '#000000',
  },
}
SCSS
$custom: #646fe5;
$custom-light: #9a98ee;
$custom-dark: #000000;
JSON
{
  "hex": "#646fe5",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 234.884,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5937,
    "c": 0.17661,
    "h": 275.6
  },
  "luminance": 0.19735
}

Semantic roles & 50–950 ramp

primary
#646FE5
secondary
#E9E5BC
accent
#C312D3
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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