#646DF2#646DF2

#646DF2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.9% C 0.196 H 275.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#646DF2
RGBrgb(100, 109, 242)
HSLhsl(236, 85%, 67%)
HSVhsv(236, 59%, 95%)
CMYKcmyk(58.7%, 55%, 0%, 5.1%)
CIE-LABlab(51.90, 34.98, -68.13)
CIE-LCHlch(51.90, 76.58, 297.18°)
OKLaboklab(59.92% 0.0199 -0.1955)
OKLCHoklch(59.92% 0.196 275.8)
XYZxyz(26.7460, 20.0554, 86.4488)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DF2 #F2E964
analogous
#64B4F2 #646DF2 #A264F2
triadic
#646DF2 #F2646D #6DF264
tetradic
#646DF2 #F264B4 #F2E964 #64F2A2
square
#646DF2 #F264B4 #F2E964 #64F2A2
split-complementary
#646DF2 #F2A264 #B4F264
monochromatic
#111DCB #2C38ED #646DF2 #9CA2F7 #D5D7FB

Accessibility & contrast

On white

4.19
#646DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#646DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DF2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DF2#FFFFFF#000000##000000
##646DF21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #646df2;
/* rgb */ color: rgb(100, 109, 242);
/* oklch */ color: oklch(59.9% 0.196 275.8);
Tailwind
colors: {
  custom: {
    50: '#9c96f7',
    500: '#646df2',
    950: '#000000',
  },
}
SCSS
$custom: #646df2;
$custom-light: #9c96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#646df2",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 236.197,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59915,
    "c": 0.19647,
    "h": 275.8
  },
  "luminance": 0.20057
}

Semantic roles & 50–950 ramp

primary
#646DF2
secondary
#EFEDC2
accent
#D305E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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