#646DEF#646DEF

#646DEF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.7% C 0.193 H 275.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#646DEF
RGBrgb(100, 109, 239)
HSLhsl(236, 81%, 66%)
HSVhsv(236, 58%, 94%)
CMYKcmyk(58.2%, 54.4%, 0%, 6.3%)
CIE-LABlab(51.70, 34.02, -66.78)
CIE-LCHlch(51.70, 74.94, 296.99°)
OKLaboklab(59.7% 0.0198 -0.1915)
OKLCHoklch(59.7% 0.193 275.9)
XYZxyz(26.2991, 19.8766, 84.0953)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DEF #EFE664
analogous
#64B3EF #646DEF #A164EF
triadic
#646DEF #EF646D #6DEF64
tetradic
#646DEF #EF64B3 #EFE664 #64EFA1
square
#646DEF #EF64B3 #EFE664 #64EFA1
split-complementary
#646DEF #EFA164 #B3EF64
monochromatic
#1420C4 #2D39E9 #646DEF #9BA1F5 #D3D6FA

Accessibility & contrast

On white

4.22
#646DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#646DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DEF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DEF#FFFFFF#000000##000000
##646DEF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C81F3
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646def;
/* rgb */ color: rgb(100, 109, 239);
/* oklch */ color: oklch(59.7% 0.193 275.9);
Tailwind
colors: {
  custom: {
    50: '#9c96f5',
    500: '#646def',
    950: '#000000',
  },
}
SCSS
$custom: #646def;
$custom-light: #9c96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#646def",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 236.115,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.597,
    "c": 0.19252,
    "h": 275.9
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#646DEF
secondary
#EEEBC1
accent
#D008DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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