#646EF8#646EF8

#646EF8 is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 60.5% C 0.203 H 275.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#646EF8
RGBrgb(100, 110, 248)
HSLhsl(236, 91%, 68%)
HSVhsv(236, 60%, 97%)
CMYKcmyk(59.7%, 55.6%, 0%, 2.7%)
CIE-LABlab(52.55, 36.31, -70.41)
CIE-LCHlch(52.55, 79.22, 297.28°)
OKLaboklab(60.53% 0.0191 -0.2022)
OKLCHoklch(60.53% 0.203 275.4)
XYZxyz(27.7692, 20.6363, 91.3086)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EF8 #F8EE64
analogous
#64B8F8 #646EF8 #A464F8
triadic
#646EF8 #F8646E #6EF864
tetradic
#646EF8 #F864B8 #F8EE64 #64F8A4
square
#646EF8 #F864B8 #F8EE64 #64F8A4
split-complementary
#646EF8 #F8A464 #B8F864
monochromatic
#0A18D8 #2937F5 #646EF8 #9FA5FB #D9DCFD

Accessibility & contrast

On white

4.10
#646EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#646EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646EF8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EF8#FFFFFF#000000##000000
##646EF81.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#008FA8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #646ef8;
/* rgb */ color: rgb(100, 110, 248);
/* oklch */ color: oklch(60.5% 0.203 275.4);
Tailwind
colors: {
  custom: {
    50: '#9d97fb',
    500: '#646ef8',
    950: '#000000',
  },
}
SCSS
$custom: #646ef8;
$custom-light: #9d97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#646ef8",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 235.946,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60529,
    "c": 0.20308,
    "h": 275.4
  },
  "luminance": 0.20638
}

Semantic roles & 50–950 ramp

primary
#646EF8
secondary
#F2EFC5
accent
#D600E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #646EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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