#646FF0#646FF0

#646FF0 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.1% C 0.191 H 275.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#646FF0
RGBrgb(100, 111, 240)
HSLhsl(235, 82%, 67%)
HSVhsv(235, 58%, 94%)
CMYKcmyk(58.3%, 53.8%, 0%, 5.9%)
CIE-LABlab(52.25, 33.13, -66.44)
CIE-LCHlch(52.25, 74.25, 296.50°)
OKLaboklab(60.14% 0.0179 -0.1905)
OKLCHoklch(60.14% 0.191 275.4)
XYZxyz(26.6630, 20.3675, 84.9474)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FF0 #F0E564
analogous
#64B5F0 #646FF0 #9F64F0
triadic
#646FF0 #F0646F #6FF064
tetradic
#646FF0 #F064B5 #F0E564 #64F09F
square
#646FF0 #F064B5 #F0E564 #64F09F
split-complementary
#646FF0 #F09F64 #B5F064
monochromatic
#1321C6 #2C3BEB #646FF0 #9CA3F5 #D4D7FB

Accessibility & contrast

On white

4.14
#646FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#646FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FF0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FF0#FFFFFF#000000##000000
##646FF01.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1683F4
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #646ff0;
/* rgb */ color: rgb(100, 111, 240);
/* oklch */ color: oklch(60.1% 0.191 275.4);
Tailwind
colors: {
  custom: {
    50: '#9c98f6',
    500: '#646ff0',
    950: '#000000',
  },
}
SCSS
$custom: #646ff0;
$custom-light: #9c98f6;
$custom-dark: #000000;
JSON
{
  "hex": "#646ff0",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 240
  },
  "hsl": {
    "h": 235.286,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60135,
    "c": 0.19133,
    "h": 275.4
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#646FF0
secondary
#EEEBC1
accent
#CE07DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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