#646BF0#646BF0

#646BF0 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.4% C 0.196 H 276.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#646BF0
RGBrgb(100, 107, 240)
HSLhsl(237, 82%, 67%)
HSVhsv(237, 58%, 94%)
CMYKcmyk(58.3%, 55.4%, 0%, 5.9%)
CIE-LABlab(51.28, 35.54, -68.01)
CIE-LCHlch(51.28, 76.74, 297.59°)
OKLaboklab(59.41% 0.0217 -0.1951)
OKLCHoklch(59.41% 0.196 276.4)
XYZxyz(26.2363, 19.5140, 84.8052)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BF0 #F0E964
analogous
#64B1F0 #646BF0 #A364F0
triadic
#646BF0 #F0646B #6BF064
tetradic
#646BF0 #F064B1 #F0E964 #64F0A3
square
#646BF0 #F064B1 #F0E964 #64F0A3
split-complementary
#646BF0 #F0A364 #B1F064
monochromatic
#131CC6 #2C36EB #646BF0 #9CA0F5 #D4D6FB

Accessibility & contrast

On white

4.28
#646BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#646BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BF0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BF0#FFFFFF#000000##000000
##646BF01.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#008AA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646bf0;
/* rgb */ color: rgb(100, 107, 240);
/* oklch */ color: oklch(59.4% 0.196 276.4);
Tailwind
colors: {
  custom: {
    50: '#9c95f6',
    500: '#646bf0',
    950: '#000000',
  },
}
SCSS
$custom: #646bf0;
$custom-light: #9c95f6;
$custom-dark: #000000;
JSON
{
  "hex": "#646bf0",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 240
  },
  "hsl": {
    "h": 237,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59413,
    "c": 0.19634,
    "h": 276.4
  },
  "luminance": 0.19516
}

Semantic roles & 50–950 ramp

primary
#646BF0
secondary
#EEECC1
accent
#D407DF
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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