#646AFD#646AFD

#646AFD is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.2% C 0.214 H 276.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#646AFD
RGBrgb(100, 106, 253)
HSLhsl(238, 97%, 69%)
HSVhsv(238, 60%, 99%)
CMYKcmyk(60.5%, 58.1%, 0%, 0.8%)
CIE-LABlab(51.96, 40.30, -74.15)
CIE-LCHlch(51.96, 84.39, 298.52°)
OKLaboklab(60.2% 0.0227 -0.2132)
OKLCHoklch(60.2% 0.214 276.1)
XYZxyz(28.1334, 20.1070, 95.3080)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AFD #FDF764
analogous
#64B7FD #646AFD #AB64FD
triadic
#646AFD #FD646A #6AFD64
tetradic
#646AFD #FD64B7 #FDF764 #64FDAB
square
#646AFD #FD64B7 #FDF764 #64FDAB
split-complementary
#646AFD #FDAB64 #B7FD64
monochromatic
#030CE4 #2830FC #646AFD #A0A4FE #DDDEFF

Accessibility & contrast

On white

4.18
#646AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#646AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AFD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AFD#FFFFFF#000000##000000
##646AFD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#008EA9
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646afd;
/* rgb */ color: rgb(100, 106, 253);
/* oklch */ color: oklch(60.2% 0.214 276.1);
Tailwind
colors: {
  custom: {
    50: '#9e94ff',
    500: '#646afd',
    950: '#000000',
  },
}
SCSS
$custom: #646afd;
$custom-light: #9e94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#646afd",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 237.647,
    "s": 97.452,
    "l": 69.216
  },
  "oklch": {
    "l": 0.60201,
    "c": 0.21441,
    "h": 276.1
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#646AFD
secondary
#F5F3C8
accent
#DC00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #646AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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