#646EE4#646EE4

#646EE4 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.177 H 275.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#646EE4
RGBrgb(100, 110, 228)
HSLhsl(235, 70%, 64%)
HSVhsv(235, 56%, 89%)
CMYKcmyk(56.1%, 51.8%, 0%, 10.6%)
CIE-LABlab(51.22, 29.88, -61.38)
CIE-LCHlch(51.22, 68.27, 295.96°)
OKLaboklab(59.11% 0.0183 -0.1756)
OKLCHoklch(59.11% 0.177 275.9)
XYZxyz(24.8305, 19.4609, 75.8316)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EE4 #E4DA64
analogous
#64AEE4 #646EE4 #9A64E4
triadic
#646EE4 #E4646E #6EE464
tetradic
#646EE4 #E464AE #E4DA64 #64E49A
square
#646EE4 #E464AE #E4DA64 #64E49A
split-complementary
#646EE4 #E49A64 #AEE464
monochromatic
#1F2AAF #303DDB #646EE4 #989FED #CCD0F6

Accessibility & contrast

On white

4.29
#646EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#646EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646EE4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EE4#FFFFFF#000000##000000
##646EE41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E8
Deuteranopia (green-blind)
#0D75E2
Tritanopia (blue-blind)
#18899E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646ee4;
/* rgb */ color: rgb(100, 110, 228);
/* oklch */ color: oklch(59.1% 0.177 275.9);
Tailwind
colors: {
  custom: {
    50: '#9a97ed',
    500: '#646ee4',
    950: '#000000',
  },
}
SCSS
$custom: #646ee4;
$custom-light: #9a97ed;
$custom-dark: #000000;
JSON
{
  "hex": "#646ee4",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 235.313,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59114,
    "c": 0.17655,
    "h": 275.9
  },
  "luminance": 0.19463
}

Semantic roles & 50–950 ramp

primary
#646EE4
secondary
#E8E5BC
accent
#C313D2
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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