#646AF1#646AF1

#646AF1 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.3% C 0.199 H 276.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#646AF1
RGBrgb(100, 106, 241)
HSLhsl(237, 83%, 67%)
HSVhsv(237, 59%, 95%)
CMYKcmyk(58.5%, 56%, 0%, 5.5%)
CIE-LABlab(51.11, 36.46, -68.84)
CIE-LCHlch(51.11, 77.90, 297.91°)
OKLaboklab(59.31% 0.0227 -0.1976)
OKLCHoklch(59.31% 0.199 276.6)
XYZxyz(26.2816, 19.3663, 85.5552)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AF1 #F1EB64
analogous
#64B1F1 #646AF1 #A564F1
triadic
#646AF1 #F1646A #6AF164
tetradic
#646AF1 #F164B1 #F1EB64 #64F1A5
square
#646AF1 #F164B1 #F1EB64 #64F1A5
split-complementary
#646AF1 #F1A564 #B1F164
monochromatic
#121AC8 #2C34EC #646AF1 #9CA0F6 #D4D6FB

Accessibility & contrast

On white

4.31
#646AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#646AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AF1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AF1#FFFFFF#000000##000000
##646AF11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646af1;
/* rgb */ color: rgb(100, 106, 241);
/* oklch */ color: oklch(59.3% 0.199 276.6);
Tailwind
colors: {
  custom: {
    50: '#9c94f6',
    500: '#646af1',
    950: '#000000',
  },
}
SCSS
$custom: #646af1;
$custom-light: #9c94f6;
$custom-dark: #000000;
JSON
{
  "hex": "#646af1",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 241
  },
  "hsl": {
    "h": 237.447,
    "s": 83.432,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59308,
    "c": 0.19889,
    "h": 276.6
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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