#646FEC#646FEC

#646FEC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.9% C 0.186 H 275.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#646FEC
RGBrgb(100, 111, 236)
HSLhsl(235, 78%, 66%)
HSVhsv(235, 58%, 93%)
CMYKcmyk(57.6%, 53%, 0%, 7.5%)
CIE-LABlab(51.99, 31.84, -64.63)
CIE-LCHlch(51.99, 72.05, 296.23°)
OKLaboklab(59.85% 0.0177 -0.1852)
OKLCHoklch(59.85% 0.186 275.5)
XYZxyz(26.0754, 20.1324, 81.8525)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FEC #ECE164
analogous
#64B3EC #646FEC #9D64EC
triadic
#646FEC #EC646F #6FEC64
tetradic
#646FEC #EC64B3 #ECE164 #64EC9D
square
#646FEC #EC64B3 #ECE164 #64EC9D
split-complementary
#646FEC #EC9D64 #B3EC64
monochromatic
#1725BE #2D3CE5 #646FEC #9BA2F3 #D1D4F9

Accessibility & contrast

On white

4.18
#646FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#646FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FEC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FEC#FFFFFF#000000##000000
##646FEC1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646fec;
/* rgb */ color: rgb(100, 111, 236);
/* oklch */ color: oklch(59.9% 0.186 275.5);
Tailwind
colors: {
  custom: {
    50: '#9b98f3',
    500: '#646fec',
    950: '#000000',
  },
}
SCSS
$custom: #646fec;
$custom-light: #9b98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#646fec",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 235.147,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59853,
    "c": 0.18602,
    "h": 275.5
  },
  "luminance": 0.20134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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