#646FEB#646FEB

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

Color values

HEX#646FEB
RGBrgb(100, 111, 235)
HSLhsl(235, 77%, 66%)
HSVhsv(235, 57%, 92%)
CMYKcmyk(57.4%, 52.8%, 0%, 7.8%)
CIE-LABlab(51.92, 31.52, -64.18)
CIE-LCHlch(51.92, 71.50, 296.16°)
OKLaboklab(59.78% 0.0177 -0.1838)
OKLCHoklch(59.78% 0.185 275.5)
XYZxyz(25.9305, 20.0745, 81.0895)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FEB #EBE064
analogous
#64B2EB #646FEB #9C64EB
triadic
#646FEB #EB646F #6FEB64
tetradic
#646FEB #EB64B2 #EBE064 #64EB9C
square
#646FEB #EB64B2 #EBE064 #64EB9C
split-complementary
#646FEB #EB9C64 #B2EB64
monochromatic
#1826BC #2E3DE4 #646FEB #9AA1F2 #D0D4F9

Accessibility & contrast

On white

4.19
#646FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#646FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FEB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FEB#FFFFFF#000000##000000
##646FEB1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382EF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646feb;
/* rgb */ color: rgb(100, 111, 235);
/* oklch */ color: oklch(59.8% 0.185 275.5);
Tailwind
colors: {
  custom: {
    50: '#9b98f2',
    500: '#646feb',
    950: '#000000',
  },
}
SCSS
$custom: #646feb;
$custom-light: #9b98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#646feb",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 235.111,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.18468,
    "h": 275.5
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#646FEB
secondary
#ECE8BF
accent
#C90CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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