#646FDB#646FDB

#646FDB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.7% C 0.163 H 275.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#646FDB
RGBrgb(100, 111, 219)
HSLhsl(234, 62%, 63%)
HSVhsv(234, 54%, 86%)
CMYKcmyk(54.3%, 49.3%, 0%, 14.1%)
CIE-LABlab(50.91, 26.40, -56.81)
CIE-LCHlch(50.91, 62.64, 294.93°)
OKLaboklab(58.7% 0.0165 -0.1621)
OKLCHoklch(58.7% 0.163 275.8)
XYZxyz(23.7221, 19.1911, 69.4583)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FDB #DBD064
analogous
#64AADB #646FDB #9564DB
triadic
#646FDB #DB646F #6FDB64
tetradic
#646FDB #DB64AA #DBD064 #64DB95
square
#646FDB #DB64AA #DBD064 #64DB95
split-complementary
#646FDB #DB9564 #AADB64
monochromatic
#2530A0 #3241CF #646FDB #969DE7 #C7CBF2

Accessibility & contrast

On white

4.34
#646FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#646FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FDB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FDB#FFFFFF#000000##000000
##646FDB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#2974D9
Tritanopia (blue-blind)
#28879B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646fdb;
/* rgb */ color: rgb(100, 111, 219);
/* oklch */ color: oklch(58.7% 0.163 275.8);
Tailwind
colors: {
  custom: {
    50: '#9998e7',
    500: '#646fdb',
    950: '#000000',
  },
}
SCSS
$custom: #646fdb;
$custom-light: #9998e7;
$custom-dark: #000000;
JSON
{
  "hex": "#646fdb",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 234.454,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58699,
    "c": 0.16297,
    "h": 275.8
  },
  "luminance": 0.19193
}

Semantic roles & 50–950 ramp

primary
#646FDB
secondary
#E3DFB8
accent
#BA1BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #646FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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