#646EEA#646EEA

#646EEA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.5% C 0.185 H 275.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#646EEA
RGBrgb(100, 110, 234)
HSLhsl(236, 76%, 65%)
HSVhsv(236, 57%, 92%)
CMYKcmyk(57.3%, 53%, 0%, 8.2%)
CIE-LABlab(51.61, 31.81, -64.12)
CIE-LCHlch(51.61, 71.58, 296.38°)
OKLaboklab(59.53% 0.0186 -0.1837)
OKLCHoklch(59.53% 0.185 275.8)
XYZxyz(25.6779, 19.7998, 80.2946)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EEA #EAE064
analogous
#64B1EA #646EEA #9D64EA
triadic
#646EEA #EA646E #6EEA64
tetradic
#646EEA #EA64B1 #EAE064 #64EA9D
square
#646EEA #EA64B1 #EAE064 #64EA9D
split-complementary
#646EEA #EA9D64 #B1EA64
monochromatic
#1925BA #2E3CE3 #646EEA #9AA0F1 #D0D3F9

Accessibility & contrast

On white

4.23
#646EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#646EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646EEA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EEA#FFFFFF#000000##000000
##646EEA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#038BA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646eea;
/* rgb */ color: rgb(100, 110, 234);
/* oklch */ color: oklch(59.5% 0.185 275.8);
Tailwind
colors: {
  custom: {
    50: '#9b97f1',
    500: '#646eea',
    950: '#000000',
  },
}
SCSS
$custom: #646eea;
$custom-light: #9b97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#646eea",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 235.522,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.18461,
    "h": 275.8
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#646EEA
secondary
#EBE8BE
accent
#C90DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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