#646BF1#646BF1

#646BF1 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.5% C 0.198 H 276.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#646BF1
RGBrgb(100, 107, 241)
HSLhsl(237, 83%, 67%)
HSVhsv(237, 59%, 95%)
CMYKcmyk(58.5%, 55.6%, 0%, 5.5%)
CIE-LABlab(51.35, 35.86, -68.46)
CIE-LCHlch(51.35, 77.28, 297.65°)
OKLaboklab(59.49% 0.0218 -0.1965)
OKLCHoklch(59.49% 0.198 276.3)
XYZxyz(26.3853, 19.5736, 85.5897)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BF1 #F1EA64
analogous
#64B2F1 #646BF1 #A464F1
triadic
#646BF1 #F1646B #6BF164
tetradic
#646BF1 #F164B2 #F1EA64 #64F1A4
square
#646BF1 #F164B2 #F1EA64 #64F1A4
split-complementary
#646BF1 #F1A464 #B2F164
monochromatic
#121BC8 #2C35EC #646BF1 #9CA1F6 #D4D6FB

Accessibility & contrast

On white

4.27
#646BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#646BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BF1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BF1#FFFFFF#000000##000000
##646BF11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646bf1;
/* rgb */ color: rgb(100, 107, 241);
/* oklch */ color: oklch(59.5% 0.198 276.3);
Tailwind
colors: {
  custom: {
    50: '#9c95f6',
    500: '#646bf1',
    950: '#000000',
  },
}
SCSS
$custom: #646bf1;
$custom-light: #9c95f6;
$custom-dark: #000000;
JSON
{
  "hex": "#646bf1",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 237.021,
    "s": 83.432,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59485,
    "c": 0.19765,
    "h": 276.3
  },
  "luminance": 0.19576
}

Semantic roles & 50–950 ramp

primary
#646BF1
secondary
#EFEDC2
accent
#D506E0
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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