#3964AA#3964AA

#3964AA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.8% C 0.122 H 259.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3964AA
RGBrgb(57, 100, 170)
HSLhsl(217, 50%, 45%)
HSVhsv(217, 66%, 67%)
CMYKcmyk(66.5%, 41.2%, 0%, 33.3%)
CIE-LABlab(42.59, 8.32, -41.98)
CIE-LCHlch(42.59, 42.80, 281.21°)
OKLaboklab(50.76% -0.0218 -0.1196)
OKLCHoklch(50.76% 0.122 259.7)
XYZxyz(13.4976, 12.8852, 39.7982)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3964AA #AA7F39
analogous
#399DAA #3964AA #4639AA
triadic
#3964AA #AA3964 #64AA39
tetradic
#3964AA #AA399D #AA7F39 #39AA46
square
#3964AA #AA399D #AA7F39 #39AA46
split-complementary
#3964AA #AA4639 #9DAA39
monochromatic
#1A2E4E #2A497C #3964AA #5983C7 #87A5D7

Accessibility & contrast

On white

5.87
#3964AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3964AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3964AA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3964AA#FFFFFF#000000##FFFFFF
##3964AA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3964aa;
/* rgb */ color: rgb(57, 100, 170);
/* oklch */ color: oklch(50.8% 0.122 259.7);
Tailwind
colors: {
  custom: {
    50: '#7b8fc4',
    500: '#3964aa',
    950: '#000000',
  },
}
SCSS
$custom: #3964aa;
$custom-light: #7b8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3964aa",
  "rgb": {
    "r": 57,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 217.168,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.12159,
    "h": 259.7
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#3964AA
secondary
#C1A77E
accent
#A44ED9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3964AA

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

Preview Lab → · Contrast checker → · Palette generator →

#3964AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva