#646BF5#646BF5

#646BF5 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 59.8% C 0.203 H 276.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#646BF5
RGBrgb(100, 107, 245)
HSLhsl(237, 88%, 68%)
HSVhsv(237, 59%, 96%)
CMYKcmyk(59.2%, 56.3%, 0%, 3.9%)
CIE-LABlab(51.63, 37.14, -70.24)
CIE-LCHlch(51.63, 79.46, 297.87°)
OKLaboklab(59.78% 0.0218 -0.2017)
OKLCHoklch(59.78% 0.203 276.2)
XYZxyz(26.9893, 19.8152, 88.7710)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BF5 #F5EE64
analogous
#64B4F5 #646BF5 #A564F5
triadic
#646BF5 #F5646B #6BF564
tetradic
#646BF5 #F564B4 #F5EE64 #64F5A5
square
#646BF5 #F564B4 #F5EE64 #64F5A5
split-complementary
#646BF5 #F5A564 #B4F564
monochromatic
#0D17D1 #2B34F1 #646BF5 #9DA2F9 #D7D9FC

Accessibility & contrast

On white

4.23
#646BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#646BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BF5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BF5#FFFFFF#000000##000000
##646BF51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#008CA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646bf5;
/* rgb */ color: rgb(100, 107, 245);
/* oklch */ color: oklch(59.8% 0.203 276.2);
Tailwind
colors: {
  custom: {
    50: '#9d95f9',
    500: '#646bf5',
    950: '#000000',
  },
}
SCSS
$custom: #646bf5;
$custom-light: #9d95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#646bf5",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 237.103,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.20287,
    "h": 276.2
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#646BF5
secondary
#F1EFC4
accent
#D901E4
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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