#646EF2#646EF2

#646EF2 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.1% C 0.195 H 275.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#646EF2
RGBrgb(100, 110, 242)
HSLhsl(236, 85%, 67%)
HSVhsv(236, 59%, 95%)
CMYKcmyk(58.7%, 54.5%, 0%, 5.1%)
CIE-LABlab(52.14, 34.38, -67.74)
CIE-LCHlch(52.14, 75.96, 296.91°)
OKLaboklab(60.1% 0.019 -0.1943)
OKLCHoklch(60.1% 0.195 275.6)
XYZxyz(26.8533, 20.2700, 86.4846)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EF2 #F2E864
analogous
#64B5F2 #646EF2 #A164F2
triadic
#646EF2 #F2646E #6EF264
tetradic
#646EF2 #F264B5 #F2E864 #64F2A1
square
#646EF2 #F264B5 #F2E864 #64F2A1
split-complementary
#646EF2 #F2A164 #B5F264
monochromatic
#111ECB #2C39ED #646EF2 #9CA3F7 #D5D8FB

Accessibility & contrast

On white

4.15
#646EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#646EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646EF2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EF2#FFFFFF#000000##000000
##646EF21.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646ef2;
/* rgb */ color: rgb(100, 110, 242);
/* oklch */ color: oklch(60.1% 0.195 275.6);
Tailwind
colors: {
  custom: {
    50: '#9c97f7',
    500: '#646ef2',
    950: '#000000',
  },
}
SCSS
$custom: #646ef2;
$custom-light: #9c97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#646ef2",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 235.775,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60096,
    "c": 0.19522,
    "h": 275.6
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

primary
#646EF2
secondary
#EFECC2
accent
#D105E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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