#646397#646397

#646397 is a mid, moderate blue. Relative luminance 0.139; OKLCH L 52.3% C 0.081 H 284.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#646397
RGBrgb(100, 99, 151)
HSLhsl(241, 21%, 49%)
HSVhsv(241, 34%, 59%)
CMYKcmyk(33.8%, 34.4%, 0%, 40.8%)
CIE-LABlab(44.04, 13.20, -28.25)
CIE-LCHlch(44.04, 31.19, 295.05°)
OKLaboklab(52.26% 0.0198 -0.0788)
OKLCHoklch(52.26% 0.081 284.1)
XYZxyz(15.3018, 13.8669, 31.1425)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646397 #969763
analogous
#637C97 #646397 #7E6397
triadic
#646397 #976463 #639764
tetradic
#646397 #97637C #969763 #63977E
square
#646397 #97637C #969763 #63977E
split-complementary
#646397 #977E63 #7C9763
monochromatic
#33334D #4C4B72 #646397 #8887B0 #ACACC9

Accessibility & contrast

On white

5.57
#646397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#646397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646397
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646397#FFFFFF#000000##FFFFFF
##6463971.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A99
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#576D76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646397;
/* rgb */ color: rgb(100, 99, 151);
/* oklch */ color: oklch(52.3% 0.081 284.1);
Tailwind
colors: {
  custom: {
    50: '#928fb6',
    500: '#646397',
    950: '#000000',
  },
}
SCSS
$custom: #646397;
$custom-light: #928fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#646397",
  "rgb": {
    "r": 100,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 241.154,
    "s": 20.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.08125,
    "h": 284.1
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

primary
#646397
secondary
#B7B79F
accent
#BD6ABC
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #646397

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

Preview Lab → · Contrast checker → · Palette generator →

#646397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva