#646EF1#646EF1

#646EF1 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.0% C 0.194 H 275.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#646EF1
RGBrgb(100, 110, 241)
HSLhsl(236, 83%, 67%)
HSVhsv(236, 59%, 95%)
CMYKcmyk(58.5%, 54.4%, 0%, 5.5%)
CIE-LABlab(52.07, 34.05, -67.29)
CIE-LCHlch(52.07, 75.41, 296.84°)
OKLaboklab(60.02% 0.0189 -0.193)
OKLCHoklch(60.02% 0.194 275.6)
XYZxyz(26.7035, 20.2100, 85.6958)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EF1 #F1E764
analogous
#64B4F1 #646EF1 #A164F1
triadic
#646EF1 #F1646E #6EF164
tetradic
#646EF1 #F164B4 #F1E764 #64F1A1
square
#646EF1 #F164B4 #F1E764 #64F1A1
split-complementary
#646EF1 #F1A164 #B4F164
monochromatic
#121FC8 #2C39EC #646EF1 #9CA3F6 #D4D7FB

Accessibility & contrast

On white

4.16
#646EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#646EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646EF1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EF1#FFFFFF#000000##000000
##646EF11.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B82F6
Deuteranopia (green-blind)
#0076EE
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646ef1;
/* rgb */ color: rgb(100, 110, 241);
/* oklch */ color: oklch(60.0% 0.194 275.6);
Tailwind
colors: {
  custom: {
    50: '#9c97f6',
    500: '#646ef1',
    950: '#000000',
  },
}
SCSS
$custom: #646ef1;
$custom-light: #9c97f6;
$custom-dark: #000000;
JSON
{
  "hex": "#646ef1",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 235.745,
    "s": 83.432,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.19391,
    "h": 275.6
  },
  "luminance": 0.20212
}

Semantic roles & 50–950 ramp

primary
#646EF1
secondary
#EFECC2
accent
#D006E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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