#646CF2#646CF2

#646CF2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.7% C 0.198 H 276.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#646CF2
RGBrgb(100, 108, 242)
HSLhsl(237, 85%, 67%)
HSVhsv(237, 59%, 95%)
CMYKcmyk(58.7%, 55.4%, 0%, 5.1%)
CIE-LABlab(51.66, 35.58, -68.52)
CIE-LCHlch(51.66, 77.20, 297.44°)
OKLaboklab(59.74% 0.0209 -0.1966)
OKLCHoklch(59.74% 0.198 276.1)
XYZxyz(26.6399, 19.8432, 86.4135)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CF2 #F2EA64
analogous
#64B3F2 #646CF2 #A364F2
triadic
#646CF2 #F2646C #6CF264
tetradic
#646CF2 #F264B3 #F2EA64 #64F2A3
square
#646CF2 #F264B3 #F2EA64 #64F2A3
split-complementary
#646CF2 #F2A364 #B3F264
monochromatic
#111BCB #2C36ED #646CF2 #9CA2F7 #D5D7FB

Accessibility & contrast

On white

4.23
#646CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#646CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CF2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CF2#FFFFFF#000000##000000
##646CF21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646cf2;
/* rgb */ color: rgb(100, 108, 242);
/* oklch */ color: oklch(59.7% 0.198 276.1);
Tailwind
colors: {
  custom: {
    50: '#9c96f7',
    500: '#646cf2',
    950: '#000000',
  },
}
SCSS
$custom: #646cf2;
$custom-light: #9c96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#646cf2",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 236.62,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.19771,
    "h": 276.1
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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