#646EEC#646EEC

#646EEC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.7% C 0.187 H 275.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#646EEC
RGBrgb(100, 110, 236)
HSLhsl(236, 78%, 66%)
HSVhsv(236, 58%, 93%)
CMYKcmyk(57.6%, 53.4%, 0%, 7.5%)
CIE-LABlab(51.74, 32.45, -65.03)
CIE-LCHlch(51.74, 72.68, 296.52°)
OKLaboklab(59.67% 0.0187 -0.1863)
OKLCHoklch(59.67% 0.187 275.7)
XYZxyz(25.9669, 19.9154, 81.8163)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EEC #ECE264
analogous
#64B2EC #646EEC #9E64EC
triadic
#646EEC #EC646E #6EEC64
tetradic
#646EEC #EC64B2 #ECE264 #64EC9E
square
#646EEC #EC64B2 #ECE264 #64EC9E
split-complementary
#646EEC #EC9E64 #B2EC64
monochromatic
#1724BE #2D3BE5 #646EEC #9BA1F3 #D1D4F9

Accessibility & contrast

On white

4.21
#646EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#646EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646EEC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EEC#FFFFFF#000000##000000
##646EEC1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81F0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646eec;
/* rgb */ color: rgb(100, 110, 236);
/* oklch */ color: oklch(59.7% 0.187 275.7);
Tailwind
colors: {
  custom: {
    50: '#9b97f3',
    500: '#646eec',
    950: '#000000',
  },
}
SCSS
$custom: #646eec;
$custom-light: #9b97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#646eec",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 235.588,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5967,
    "c": 0.18728,
    "h": 275.7
  },
  "luminance": 0.19917
}

Semantic roles & 50–950 ramp

primary
#646EEC
secondary
#ECE9BF
accent
#CB0BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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