#646BD3#646BD3

#646BD3 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.157 H 277.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#646BD3
RGBrgb(100, 107, 211)
HSLhsl(236, 56%, 61%)
HSVhsv(236, 53%, 83%)
CMYKcmyk(52.6%, 49.3%, 0%, 17.3%)
CIE-LABlab(49.41, 26.31, -54.68)
CIE-LCHlch(49.41, 60.68, 295.69°)
OKLaboklab(57.41% 0.02 -0.1559)
OKLCHoklch(57.41% 0.157 277.3)
XYZxyz(22.2674, 17.9265, 63.9022)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BD3 #D3CC64
analogous
#64A2D3 #646BD3 #9464D3
triadic
#646BD3 #D3646B #6BD364
tetradic
#646BD3 #D364A2 #D3CC64 #64D394
square
#646BD3 #D364A2 #D3CC64 #64D394
split-complementary
#646BD3 #D39464 #A2D364
monochromatic
#2A3093 #3740C3 #646BD3 #9499E1 #C3C6EE

Accessibility & contrast

On white

4.58
#646BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#646BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BD3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BD3#FFFFFF#000000##000000
##646BD31.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD7
Deuteranopia (green-blind)
#2C71D1
Tritanopia (blue-blind)
#328295
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646bd3;
/* rgb */ color: rgb(100, 107, 211);
/* oklch */ color: oklch(57.4% 0.157 277.3);
Tailwind
colors: {
  custom: {
    50: '#9895e1',
    500: '#646bd3',
    950: '#000000',
  },
}
SCSS
$custom: #646bd3;
$custom-light: #9895e1;
$custom-dark: #000000;
JSON
{
  "hex": "#646bd3",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 211
  },
  "hsl": {
    "h": 236.216,
    "s": 55.779,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57407,
    "c": 0.1572,
    "h": 277.3
  },
  "luminance": 0.17928
}

Semantic roles & 50–950 ramp

primary
#646BD3
secondary
#DEDCB4
accent
#B922C3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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