#646FEA#646FEA

#646FEA is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.7% C 0.183 H 275.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#646FEA
RGBrgb(100, 111, 234)
HSLhsl(235, 76%, 65%)
HSVhsv(235, 57%, 92%)
CMYKcmyk(57.3%, 52.6%, 0%, 8.2%)
CIE-LABlab(51.86, 31.20, -63.73)
CIE-LCHlch(51.86, 70.95, 296.09°)
OKLaboklab(59.71% 0.0176 -0.1825)
OKLCHoklch(59.71% 0.183 275.5)
XYZxyz(25.7864, 20.0168, 80.3307)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FEA #EADF64
analogous
#64B2EA #646FEA #9C64EA
triadic
#646FEA #EA646F #6FEA64
tetradic
#646FEA #EA64B2 #EADF64 #64EA9C
square
#646FEA #EA64B2 #EADF64 #64EA9C
split-complementary
#646FEA #EA9C64 #B2EA64
monochromatic
#1926BA #2E3DE3 #646FEA #9AA1F1 #D0D3F9

Accessibility & contrast

On white

4.20
#646FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#646FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FEA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FEA#FFFFFF#000000##000000
##646FEA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2581EE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#028BA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646fea;
/* rgb */ color: rgb(100, 111, 234);
/* oklch */ color: oklch(59.7% 0.183 275.5);
Tailwind
colors: {
  custom: {
    50: '#9b98f1',
    500: '#646fea',
    950: '#000000',
  },
}
SCSS
$custom: #646fea;
$custom-light: #9b98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#646fea",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 235.075,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59714,
    "c": 0.18334,
    "h": 275.5
  },
  "luminance": 0.20019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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