#3964AC#3964AC

#3964AC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 50.9% C 0.124 H 260.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3964AC
RGBrgb(57, 100, 172)
HSLhsl(218, 50%, 45%)
HSVhsv(218, 67%, 67%)
CMYKcmyk(66.9%, 41.9%, 0%, 32.5%)
CIE-LABlab(42.70, 9.04, -42.98)
CIE-LCHlch(42.70, 43.92, 281.89°)
OKLaboklab(50.88% -0.0214 -0.1225)
OKLCHoklch(50.88% 0.124 260.1)
XYZxyz(13.6883, 12.9614, 40.8022)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3964AC #AC8139
analogous
#399EAC #3964AC #4739AC
triadic
#3964AC #AC3964 #64AC39
tetradic
#3964AC #AC399E #AC8139 #39AC47
square
#3964AC #AC399E #AC8139 #39AC47
split-complementary
#3964AC #AC4739 #9EAC39
monochromatic
#1B2F50 #2A497E #3964AC #5A83C8 #88A6D8

Accessibility & contrast

On white

5.85
#3964AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3964AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3964AC#FFFFFF#000000##FFFFFF
##3964AC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#3160AB
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3964ac;
/* rgb */ color: rgb(57, 100, 172);
/* oklch */ color: oklch(50.9% 0.124 260.1);
Tailwind
colors: {
  custom: {
    50: '#7c8fc5',
    500: '#3964ac',
    950: '#000000',
  },
}
SCSS
$custom: #3964ac;
$custom-light: #7c8fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3964ac",
  "rgb": {
    "r": 57,
    "g": 100,
    "b": 172
  },
  "hsl": {
    "h": 217.565,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.12439,
    "h": 260.1
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#3964AC
secondary
#C2A97F
accent
#A64EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3964AC

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

Preview Lab → · Contrast checker → · Palette generator →

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