#646BF2#646BF2

#646BF2 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.6% C 0.199 H 276.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#646BF2
RGBrgb(100, 107, 242)
HSLhsl(237, 85%, 67%)
HSVhsv(237, 59%, 95%)
CMYKcmyk(58.7%, 55.8%, 0%, 5.1%)
CIE-LABlab(51.42, 36.18, -68.90)
CIE-LCHlch(51.42, 77.83, 297.70°)
OKLaboklab(59.56% 0.0218 -0.1978)
OKLCHoklch(59.56% 0.199 276.3)
XYZxyz(26.5351, 19.6335, 86.3785)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BF2 #F2EB64
analogous
#64B2F2 #646BF2 #A464F2
triadic
#646BF2 #F2646B #6BF264
tetradic
#646BF2 #F264B2 #F2EB64 #64F2A4
square
#646BF2 #F264B2 #F2EB64 #64F2A4
split-complementary
#646BF2 #F2A464 #B2F264
monochromatic
#111ACB #2C35ED #646BF2 #9CA1F7 #D5D7FB

Accessibility & contrast

On white

4.26
#646BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#646BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BF2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BF2#FFFFFF#000000##000000
##646BF21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646bf2;
/* rgb */ color: rgb(100, 107, 242);
/* oklch */ color: oklch(59.6% 0.199 276.3);
Tailwind
colors: {
  custom: {
    50: '#9c95f7',
    500: '#646bf2',
    950: '#000000',
  },
}
SCSS
$custom: #646bf2;
$custom-light: #9c95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#646bf2",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 237.042,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59558,
    "c": 0.19896,
    "h": 276.3
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#646BF2
secondary
#EFEDC2
accent
#D605E1
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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