#646AE3#646AE3

#646AE3 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.3% C 0.180 H 277.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#646AE3
RGBrgb(100, 106, 227)
HSLhsl(237, 69%, 64%)
HSVhsv(237, 56%, 89%)
CMYKcmyk(55.9%, 53.3%, 0%, 11%)
CIE-LABlab(50.17, 31.99, -62.51)
CIE-LCHlch(50.17, 70.22, 297.10°)
OKLaboklab(58.3% 0.0223 -0.179)
OKLCHoklch(58.3% 0.18 277.1)
XYZxyz(24.2703, 18.5618, 74.9620)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AE3 #E3DD64
analogous
#64AAE3 #646AE3 #9E64E3
triadic
#646AE3 #E3646A #6AE364
tetradic
#646AE3 #E364AA #E3DD64 #64E39E
square
#646AE3 #E364AA #E3DD64 #64E39E
split-complementary
#646AE3 #E39E64 #AAE364
monochromatic
#1F26AD #3038DA #646AE3 #989CEC #CCCEF6

Accessibility & contrast

On white

4.46
#646AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#646AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AE3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AE3#FFFFFF#000000##000000
##646AE31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7DE7
Deuteranopia (green-blind)
#0072E0
Tritanopia (blue-blind)
#1C869C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646ae3;
/* rgb */ color: rgb(100, 106, 227);
/* oklch */ color: oklch(58.3% 0.180 277.1);
Tailwind
colors: {
  custom: {
    50: '#9a94ed',
    500: '#646ae3',
    950: '#000000',
  },
}
SCSS
$custom: #646ae3;
$custom-light: #9a94ed;
$custom-dark: #000000;
JSON
{
  "hex": "#646ae3",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 227
  },
  "hsl": {
    "h": 237.165,
    "s": 69.399,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58305,
    "c": 0.18035,
    "h": 277.1
  },
  "luminance": 0.18563
}

Semantic roles & 50–950 ramp

primary
#646AE3
secondary
#E8E5BB
accent
#C814D1
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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