#646FE8#646FE8

#646FE8 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.6% C 0.181 H 275.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#646FE8
RGBrgb(100, 111, 232)
HSLhsl(235, 74%, 65%)
HSVhsv(235, 57%, 91%)
CMYKcmyk(56.9%, 52.2%, 0%, 9%)
CIE-LABlab(51.73, 30.56, -62.81)
CIE-LCHlch(51.73, 69.85, 295.94°)
OKLaboklab(59.58% 0.0175 -0.1798)
OKLCHoklch(59.58% 0.181 275.6)
XYZxyz(25.5008, 19.9026, 78.8261)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FE8 #E8DD64
analogous
#64B1E8 #646FE8 #9B64E8
triadic
#646FE8 #E8646F #6FE864
tetradic
#646FE8 #E864B1 #E8DD64 #64E89B
square
#646FE8 #E864B1 #E8DD64 #64E89B
split-complementary
#646FE8 #E89B64 #B1E864
monochromatic
#1B28B7 #2F3DE0 #646FE8 #99A1F0 #CFD2F8

Accessibility & contrast

On white

4.22
#646FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#646FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FE8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FE8#FFFFFF#000000##000000
##646FE81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2881EC
Deuteranopia (green-blind)
#0076E5
Tritanopia (blue-blind)
#0C8BA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646fe8;
/* rgb */ color: rgb(100, 111, 232);
/* oklch */ color: oklch(59.6% 0.181 275.6);
Tailwind
colors: {
  custom: {
    50: '#9a98f0',
    500: '#646fe8',
    950: '#000000',
  },
}
SCSS
$custom: #646fe8;
$custom-light: #9a98f0;
$custom-dark: #000000;
JSON
{
  "hex": "#646fe8",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 235,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.18066,
    "h": 275.6
  },
  "luminance": 0.19904
}

Semantic roles & 50–950 ramp

primary
#646FE8
secondary
#EAE7BE
accent
#C60FD6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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