#646AE2#646AE2

#646AE2 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.2% C 0.179 H 277.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#646AE2
RGBrgb(100, 106, 226)
HSLhsl(237, 68%, 64%)
HSVhsv(237, 56%, 89%)
CMYKcmyk(55.8%, 53.1%, 0%, 11.4%)
CIE-LABlab(50.10, 31.68, -62.05)
CIE-LCHlch(50.10, 69.67, 297.04°)
OKLaboklab(58.24% 0.0222 -0.1776)
OKLCHoklch(58.24% 0.179 277.1)
XYZxyz(24.1327, 18.5067, 74.2372)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AE2 #E2DC64
analogous
#64A9E2 #646AE2 #9D64E2
triadic
#646AE2 #E2646A #6AE264
tetradic
#646AE2 #E264A9 #E2DC64 #64E29D
square
#646AE2 #E264A9 #E2DC64 #64E29D
split-complementary
#646AE2 #E29D64 #A9E264
monochromatic
#2027AC #3038D8 #646AE2 #989CEC #CBCDF5

Accessibility & contrast

On white

4.47
#646AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#646AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AE2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AE2#FFFFFF#000000##000000
##646AE21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#217DE6
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#1E859C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646ae2;
/* rgb */ color: rgb(100, 106, 226);
/* oklch */ color: oklch(58.2% 0.179 277.1);
Tailwind
colors: {
  custom: {
    50: '#9a94ec',
    500: '#646ae2',
    950: '#000000',
  },
}
SCSS
$custom: #646ae2;
$custom-light: #9a94ec;
$custom-dark: #000000;
JSON
{
  "hex": "#646ae2",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 226
  },
  "hsl": {
    "h": 237.143,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58235,
    "c": 0.17901,
    "h": 277.1
  },
  "luminance": 0.18508
}

Semantic roles & 50–950 ramp

primary
#646AE2
secondary
#E7E5BB
accent
#C815D0
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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