#646CE3#646CE3

#646CE3 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.7% C 0.178 H 276.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#646CE3
RGBrgb(100, 108, 227)
HSLhsl(236, 69%, 64%)
HSVhsv(236, 56%, 89%)
CMYKcmyk(55.9%, 52.4%, 0%, 11%)
CIE-LABlab(50.66, 30.78, -61.72)
CIE-LCHlch(50.66, 68.97, 296.51°)
OKLaboklab(58.67% 0.0202 -0.1766)
OKLCHoklch(58.67% 0.178 276.5)
XYZxyz(24.4788, 18.9788, 75.0315)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CE3 #E3DB64
analogous
#64ACE3 #646CE3 #9B64E3
triadic
#646CE3 #E3646C #6CE364
tetradic
#646CE3 #E364AC #E3DB64 #64E39B
square
#646CE3 #E364AC #E3DB64 #64E39B
split-complementary
#646CE3 #E39B64 #ACE364
monochromatic
#1F28AD #303BDA #646CE3 #989DEC #CCCEF6

Accessibility & contrast

On white

4.38
#646CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#646CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CE3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CE3#FFFFFF#000000##000000
##646CE31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#277EE7
Deuteranopia (green-blind)
#0373E1
Tritanopia (blue-blind)
#1B879D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646ce3;
/* rgb */ color: rgb(100, 108, 227);
/* oklch */ color: oklch(58.7% 0.178 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a96ec',
    500: '#646ce3',
    950: '#000000',
  },
}
SCSS
$custom: #646ce3;
$custom-light: #9a96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#646ce3",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 227
  },
  "hsl": {
    "h": 236.22,
    "s": 69.399,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58674,
    "c": 0.17778,
    "h": 276.5
  },
  "luminance": 0.18981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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