#646FE3#646FE3

#646FE3 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.174 H 275.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#646FE3
RGBrgb(100, 111, 227)
HSLhsl(235, 69%, 64%)
HSVhsv(235, 56%, 89%)
CMYKcmyk(55.9%, 51.1%, 0%, 11%)
CIE-LABlab(51.41, 28.95, -60.52)
CIE-LCHlch(51.41, 67.09, 295.57°)
OKLaboklab(59.23% 0.0172 -0.1731)
OKLCHoklch(59.23% 0.174 275.7)
XYZxyz(24.8006, 19.6225, 75.1388)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FE3 #E3D864
analogous
#64AFE3 #646FE3 #9964E3
triadic
#646FE3 #E3646F #6FE364
tetradic
#646FE3 #E364AF #E3D864 #64E399
square
#646FE3 #E364AF #E3D864 #64E399
split-complementary
#646FE3 #E39964 #AFE364
monochromatic
#1F2CAD #303FDA #646FE3 #989FEC #CCCFF6

Accessibility & contrast

On white

4.26
#646FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#646FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FE3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FE3#FFFFFF#000000##000000
##646FE31.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3080E7
Deuteranopia (green-blind)
#1775E1
Tritanopia (blue-blind)
#1A899E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646fe3;
/* rgb */ color: rgb(100, 111, 227);
/* oklch */ color: oklch(59.2% 0.174 275.7);
Tailwind
colors: {
  custom: {
    50: '#9a98ec',
    500: '#646fe3',
    950: '#000000',
  },
}
SCSS
$custom: #646fe3;
$custom-light: #9a98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#646fe3",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 227
  },
  "hsl": {
    "h": 234.803,
    "s": 69.399,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.17391,
    "h": 275.7
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#646FE3
secondary
#E8E4BB
accent
#C114D1
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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