#646CD2#646CD2

#646CD2 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.5% C 0.154 H 277.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#646CD2
RGBrgb(100, 108, 210)
HSLhsl(236, 55%, 61%)
HSVhsv(236, 52%, 82%)
CMYKcmyk(52.4%, 48.6%, 0%, 17.6%)
CIE-LABlab(49.60, 25.38, -53.80)
CIE-LCHlch(49.60, 59.48, 295.26°)
OKLaboklab(57.53% 0.0188 -0.1533)
OKLCHoklch(57.53% 0.154 277)
XYZxyz(22.2473, 18.0862, 63.2790)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CD2 #D2CA64
analogous
#64A3D2 #646CD2 #9364D2
triadic
#646CD2 #D2646C #6CD264
tetradic
#646CD2 #D264A3 #D2CA64 #64D293
square
#646CD2 #D264A3 #D2CA64 #64D293
split-complementary
#646CD2 #D29364 #A3D264
monochromatic
#2A3291 #3842C1 #646CD2 #9399E0 #C3C6EE

Accessibility & contrast

On white

4.55
#646CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#646CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CD2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CD2#FFFFFF#000000##000000
##646CD21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7BD6
Deuteranopia (green-blind)
#2F72D0
Tritanopia (blue-blind)
#338295
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646cd2;
/* rgb */ color: rgb(100, 108, 210);
/* oklch */ color: oklch(57.5% 0.154 277.0);
Tailwind
colors: {
  custom: {
    50: '#9896e0',
    500: '#646cd2',
    950: '#000000',
  },
}
SCSS
$custom: #646cd2;
$custom-light: #9896e0;
$custom-dark: #000000;
JSON
{
  "hex": "#646cd2",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 235.636,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57534,
    "c": 0.15448,
    "h": 277
  },
  "luminance": 0.18088
}

Semantic roles & 50–950 ramp

primary
#646CD2
secondary
#DEDBB4
accent
#B723C3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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