#646AF2#646AF2

#646AF2 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.4% C 0.200 H 276.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#646AF2
RGBrgb(100, 106, 242)
HSLhsl(237, 85%, 67%)
HSVhsv(237, 59%, 95%)
CMYKcmyk(58.7%, 56.2%, 0%, 5.1%)
CIE-LABlab(51.18, 36.78, -69.29)
CIE-LCHlch(51.18, 78.45, 297.96°)
OKLaboklab(59.38% 0.0227 -0.1989)
OKLCHoklch(59.38% 0.2 276.5)
XYZxyz(26.4314, 19.4262, 86.3440)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AF2 #F2EC64
analogous
#64B1F2 #646AF2 #A564F2
triadic
#646AF2 #F2646A #6AF264
tetradic
#646AF2 #F264B1 #F2EC64 #64F2A5
square
#646AF2 #F264B1 #F2EC64 #64F2A5
split-complementary
#646AF2 #F2A564 #B1F264
monochromatic
#1119CB #2C34ED #646AF2 #9CA0F7 #D5D7FB

Accessibility & contrast

On white

4.30
#646AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#646AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AF2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AF2#FFFFFF#000000##000000
##646AF21.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008AA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646af2;
/* rgb */ color: rgb(100, 106, 242);
/* oklch */ color: oklch(59.4% 0.200 276.5);
Tailwind
colors: {
  custom: {
    50: '#9c94f7',
    500: '#646af2',
    950: '#000000',
  },
}
SCSS
$custom: #646af2;
$custom-light: #9c94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#646af2",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 237.465,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59381,
    "c": 0.2002,
    "h": 276.5
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#646AF2
secondary
#EFEEC2
accent
#D805E1
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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