#646FE4#646FE4

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

Color values

HEX#646FE4
RGBrgb(100, 111, 228)
HSLhsl(235, 70%, 64%)
HSVhsv(235, 56%, 89%)
CMYKcmyk(56.1%, 51.3%, 0%, 10.6%)
CIE-LABlab(51.47, 29.28, -60.98)
CIE-LCHlch(51.47, 67.64, 295.65°)
OKLaboklab(59.3% 0.0172 -0.1744)
OKLCHoklch(59.3% 0.175 275.6)
XYZxyz(24.9391, 19.6779, 75.8678)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FE4 #E4D964
analogous
#64AFE4 #646FE4 #9964E4
triadic
#646FE4 #E4646F #6FE464
tetradic
#646FE4 #E464AF #E4D964 #64E499
square
#646FE4 #E464AF #E4D964 #64E499
split-complementary
#646FE4 #E49964 #AFE464
monochromatic
#1F2BAF #303FDB #646FE4 #989FED #CCD0F6

Accessibility & contrast

On white

4.25
#646FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#646FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FE4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FE4#FFFFFF#000000##000000
##646FE41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E80E8
Deuteranopia (green-blind)
#1475E2
Tritanopia (blue-blind)
#188A9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646fe4;
/* rgb */ color: rgb(100, 111, 228);
/* oklch */ color: oklch(59.3% 0.175 275.6);
Tailwind
colors: {
  custom: {
    50: '#9a98ed',
    500: '#646fe4',
    950: '#000000',
  },
}
SCSS
$custom: #646fe4;
$custom-light: #9a98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#646fe4",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 234.844,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.17526,
    "h": 275.6
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#646FE4
secondary
#E8E4BC
accent
#C213D2
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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