#646EC8#646EC8

#646EC8 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.3% C 0.138 H 276.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#646EC8
RGBrgb(100, 110, 200)
HSLhsl(234, 48%, 59%)
HSVhsv(234, 50%, 78%)
CMYKcmyk(50%, 45%, 0%, 21.6%)
CIE-LABlab(49.53, 21.01, -48.19)
CIE-LCHlch(49.53, 52.58, 293.56°)
OKLaboklab(57.29% 0.0153 -0.1369)
OKLCHoklch(57.29% 0.138 276.4)
XYZxyz(21.2535, 18.0301, 56.9926)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EC8 #C8BE64
analogous
#64A0C8 #646EC8 #8C64C8
triadic
#646EC8 #C8646E #6EC864
tetradic
#646EC8 #C864A0 #C8BE64 #64C88C
square
#646EC8 #C864A0 #C8BE64 #64C88C
split-complementary
#646EC8 #C88C64 #A0C864
monochromatic
#2F3783 #3F4AB0 #646EC8 #9198D8 #BEC3E8

Accessibility & contrast

On white

4.56
#646EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#646EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646EC8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EC8#FFFFFF#000000##000000
##646EC81.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACB
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#3C8191
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646ec8;
/* rgb */ color: rgb(100, 110, 200);
/* oklch */ color: oklch(57.3% 0.138 276.4);
Tailwind
colors: {
  custom: {
    50: '#9697d9',
    500: '#646ec8',
    950: '#000000',
  },
}
SCSS
$custom: #646ec8;
$custom-light: #9697d9;
$custom-dark: #000000;
JSON
{
  "hex": "#646ec8",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 234,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57293,
    "c": 0.13771,
    "h": 276.4
  },
  "luminance": 0.18031
}

Semantic roles & 50–950 ramp

primary
#646EC8
secondary
#D8D4B0
accent
#CA51D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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