#646AEC#646AEC

#646AEC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.9% C 0.192 H 276.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#646AEC
RGBrgb(100, 106, 236)
HSLhsl(237, 78%, 66%)
HSVhsv(237, 58%, 93%)
CMYKcmyk(57.6%, 55.1%, 0%, 7.5%)
CIE-LABlab(50.77, 34.86, -66.60)
CIE-LCHlch(50.77, 75.17, 297.63°)
OKLaboklab(58.95% 0.0226 -0.191)
OKLCHoklch(58.95% 0.192 276.8)
XYZxyz(25.5450, 19.0717, 81.6757)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AEC #ECE664
analogous
#64AEEC #646AEC #A264EC
triadic
#646AEC #EC646A #6AEC64
tetradic
#646AEC #EC64AE #ECE664 #64ECA2
square
#646AEC #EC64AE #ECE664 #64ECA2
split-complementary
#646AEC #ECA264 #AEEC64
monochromatic
#171FBE #2D36E5 #646AEC #9B9EF3 #D1D3F9

Accessibility & contrast

On white

4.36
#646AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#646AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AEC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AEC#FFFFFF#000000##000000
##646AEC1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#0088A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646aec;
/* rgb */ color: rgb(100, 106, 236);
/* oklch */ color: oklch(58.9% 0.192 276.8);
Tailwind
colors: {
  custom: {
    50: '#9b94f3',
    500: '#646aec',
    950: '#000000',
  },
}
SCSS
$custom: #646aec;
$custom-light: #9b94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#646aec",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 237.353,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.19232,
    "h": 276.8
  },
  "luminance": 0.19074
}

Semantic roles & 50–950 ramp

primary
#646AEC
secondary
#ECEABF
accent
#D10BDA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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