#646BC2#646BC2

#646BC2 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.133 H 277.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#646BC2
RGBrgb(100, 107, 194)
HSLhsl(236, 44%, 58%)
HSVhsv(236, 48%, 76%)
CMYKcmyk(48.5%, 44.8%, 0%, 23.9%)
CIE-LABlab(48.41, 20.99, -46.54)
CIE-LCHlch(48.41, 51.05, 294.28°)
OKLaboklab(56.33% 0.0179 -0.132)
OKLCHoklch(56.33% 0.133 277.7)
XYZxyz(20.2478, 17.1186, 53.2658)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BC2 #C2BB64
analogous
#649AC2 #646BC2 #8C64C2
triadic
#646BC2 #C2646B #6BC264
tetradic
#646BC2 #C2649A #C2BB64 #64C28C
square
#646BC2 #C2649A #C2BB64 #64C28C
split-complementary
#646BC2 #C28C64 #9AC264
monochromatic
#30367B #4249A7 #646BC2 #9095D3 #BCBFE5

Accessibility & contrast

On white

4.75
#646BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#646BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646BC2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BC2#FFFFFF#000000##FFFFFF
##646BC21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#3F6FC0
Tritanopia (blue-blind)
#417D8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646bc2;
/* rgb */ color: rgb(100, 107, 194);
/* oklch */ color: oklch(56.3% 0.133 277.7);
Tailwind
colors: {
  custom: {
    50: '#9695d5',
    500: '#646bc2',
    950: '#000000',
  },
}
SCSS
$custom: #646bc2;
$custom-light: #9695d5;
$custom-dark: #000000;
JSON
{
  "hex": "#646bc2",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 235.532,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.13323,
    "h": 277.7
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#646BC2
secondary
#D4D1AE
accent
#CA55D3
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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