#646BDE#646BDE

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

Color values

HEX#646BDE
RGBrgb(100, 107, 222)
HSLhsl(237, 65%, 63%)
HSVhsv(237, 55%, 87%)
CMYKcmyk(55%, 51.8%, 0%, 12.9%)
CIE-LABlab(50.09, 29.79, -59.81)
CIE-LCHlch(50.09, 66.82, 296.48°)
OKLaboklab(58.14% 0.021 -0.171)
OKLCHoklch(58.14% 0.172 277)
XYZxyz(23.6938, 18.4970, 71.4148)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BDE #DED764
analogous
#64A8DE #646BDE #9A64DE
triadic
#646BDE #DE646B #6BDE64
tetradic
#646BDE #DE64A8 #DED764 #64DE9A
square
#646BDE #DE64A8 #DED764 #64DE9A
split-complementary
#646BDE #DE9A64 #A8DE64
monochromatic
#232AA5 #323BD3 #646BDE #969BE9 #C9CBF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646BDE#FFFFFF#000000##000000
##646BDE1.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)
#2B7CE2
Deuteranopia (green-blind)
#1472DC
Tritanopia (blue-blind)
#25859A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646bde;
/* rgb */ color: rgb(100, 107, 222);
/* oklch */ color: oklch(58.1% 0.172 277.0);
Tailwind
colors: {
  custom: {
    50: '#9995e9',
    500: '#646bde',
    950: '#000000',
  },
}
SCSS
$custom: #646bde;
$custom-light: #9995e9;
$custom-dark: #000000;
JSON
{
  "hex": "#646bde",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 222
  },
  "hsl": {
    "h": 236.557,
    "s": 64.894,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.1723,
    "h": 277
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#646BDE
secondary
#E5E2B9
accent
#C219CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #646BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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