#646ED2#646ED2

#646ED2 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.9% C 0.152 H 276.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#646ED2
RGBrgb(100, 110, 210)
HSLhsl(235, 55%, 61%)
HSVhsv(235, 52%, 82%)
CMYKcmyk(52.4%, 47.6%, 0%, 17.6%)
CIE-LABlab(50.11, 24.16, -52.98)
CIE-LCHlch(50.11, 58.23, 294.51°)
OKLaboklab(57.92% 0.0166 -0.1509)
OKLCHoklch(57.92% 0.152 276.3)
XYZxyz(22.4606, 18.5129, 63.3501)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ED2 #D2C864
analogous
#64A5D2 #646ED2 #9164D2
triadic
#646ED2 #D2646E #6ED264
tetradic
#646ED2 #D264A5 #D2C864 #64D291
square
#646ED2 #D264A5 #D2C864 #64D291
split-complementary
#646ED2 #D29164 #A5D264
monochromatic
#2A3491 #3844C1 #646ED2 #939AE0 #C3C7EE

Accessibility & contrast

On white

4.47
#646ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#646ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646ED2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ED2#FFFFFF#000000##000000
##646ED21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD6
Deuteranopia (green-blind)
#3473D0
Tritanopia (blue-blind)
#338496
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646ed2;
/* rgb */ color: rgb(100, 110, 210);
/* oklch */ color: oklch(57.9% 0.152 276.3);
Tailwind
colors: {
  custom: {
    50: '#9797e0',
    500: '#646ed2',
    950: '#000000',
  },
}
SCSS
$custom: #646ed2;
$custom-light: #9797e0;
$custom-dark: #000000;
JSON
{
  "hex": "#646ed2",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 210
  },
  "hsl": {
    "h": 234.545,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.15181,
    "h": 276.3
  },
  "luminance": 0.18514
}

Semantic roles & 50–950 ramp

primary
#646ED2
secondary
#DEDAB4
accent
#B423C3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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