#646FC8#646FC8

#646FC8 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.5% C 0.136 H 275.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#646FC8
RGBrgb(100, 111, 200)
HSLhsl(233, 48%, 59%)
HSVhsv(233, 50%, 78%)
CMYKcmyk(50%, 44.5%, 0%, 21.6%)
CIE-LABlab(49.79, 20.40, -47.78)
CIE-LCHlch(49.79, 51.95, 293.12°)
OKLaboklab(57.49% 0.0141 -0.1356)
OKLCHoklch(57.49% 0.136 275.9)
XYZxyz(21.3620, 18.2471, 57.0288)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FC8 #C8BD64
analogous
#64A1C8 #646FC8 #8B64C8
triadic
#646FC8 #C8646F #6FC864
tetradic
#646FC8 #C864A1 #C8BD64 #64C88B
square
#646FC8 #C864A1 #C8BD64 #64C88B
split-complementary
#646FC8 #C88B64 #A1C864
monochromatic
#2F3883 #3F4BB0 #646FC8 #9199D8 #BEC3E8

Accessibility & contrast

On white

4.52
#646FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#646FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FC8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FC8#FFFFFF#000000##000000
##646FC81.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCB
Deuteranopia (green-blind)
#4073C6
Tritanopia (blue-blind)
#3C8292
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646fc8;
/* rgb */ color: rgb(100, 111, 200);
/* oklch */ color: oklch(57.5% 0.136 275.9);
Tailwind
colors: {
  custom: {
    50: '#9698d9',
    500: '#646fc8',
    950: '#000000',
  },
}
SCSS
$custom: #646fc8;
$custom-light: #9698d9;
$custom-dark: #000000;
JSON
{
  "hex": "#646fc8",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 233.4,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57493,
    "c": 0.13636,
    "h": 275.9
  },
  "luminance": 0.18248
}

Semantic roles & 50–950 ramp

primary
#646FC8
secondary
#D8D3B0
accent
#C851D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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