#646FBE#646FBE

#646FBE is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.122 H 275.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#646FBE
RGBrgb(100, 111, 190)
HSLhsl(233, 41%, 57%)
HSVhsv(233, 47%, 75%)
CMYKcmyk(47.4%, 41.6%, 0%, 25.5%)
CIE-LABlab(49.25, 17.30, -42.90)
CIE-LCHlch(49.25, 46.26, 291.97°)
OKLaboklab(56.9% 0.0124 -0.1214)
OKLCHoklch(56.9% 0.122 275.8)
XYZxyz(20.2314, 17.7948, 51.0739)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FBE #BEB364
analogous
#649CBE #646FBE #8664BE
triadic
#646FBE #BE646F #6FBE64
tetradic
#646FBE #BE649C #BEB364 #64BE86
square
#646FBE #BE649C #BEB364 #64BE86
split-complementary
#646FBE #BE8664 #9CBE64
monochromatic
#323A76 #444FA1 #646FBE #8F97D0 #BABFE2

Accessibility & contrast

On white

4.61
#646FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#646FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646FBE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FBE#FFFFFF#000000##FFFFFF
##646FBE1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5079C1
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#437F8D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646fbe;
/* rgb */ color: rgb(100, 111, 190);
/* oklch */ color: oklch(56.9% 0.122 275.8);
Tailwind
colors: {
  custom: {
    50: '#9598d2',
    500: '#646fbe',
    950: '#000000',
  },
}
SCSS
$custom: #646fbe;
$custom-light: #9598d2;
$custom-dark: #000000;
JSON
{
  "hex": "#646fbe",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 232.667,
    "s": 40.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56896,
    "c": 0.12199,
    "h": 275.8
  },
  "luminance": 0.17796
}

Semantic roles & 50–950 ramp

primary
#646FBE
secondary
#D1CDAD
accent
#C257D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #646FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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