#3961AA#3961AA

#3961AA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.125 H 261.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#3961AA
RGBrgb(57, 97, 170)
HSLhsl(219, 50%, 45%)
HSVhsv(219, 66%, 67%)
CMYKcmyk(66.5%, 42.9%, 0%, 33.3%)
CIE-LABlab(41.72, 10.23, -43.37)
CIE-LCHlch(41.72, 44.56, 283.28°)
OKLaboklab(50.08% -0.0187 -0.1237)
OKLCHoklch(50.08% 0.125 261.4)
XYZxyz(13.2152, 12.3202, 39.7040)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961AA #AA8239
analogous
#399AAA #3961AA #4939AA
triadic
#3961AA #AA3961 #61AA39
tetradic
#3961AA #AA399A #AA8239 #39AA49
square
#3961AA #AA399A #AA8239 #39AA49
split-complementary
#3961AA #AA4939 #9AAA39
monochromatic
#1A2D4E #2A477C #3961AA #5980C7 #87A3D7

Accessibility & contrast

On white

6.06
#3961AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3961AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961AA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961AA#FFFFFF#000000##FFFFFF
##3961AA1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#2D5EA8
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3961aa;
/* rgb */ color: rgb(57, 97, 170);
/* oklch */ color: oklch(50.1% 0.125 261.4);
Tailwind
colors: {
  custom: {
    50: '#7b8dc4',
    500: '#3961aa',
    950: '#000000',
  },
}
SCSS
$custom: #3961aa;
$custom-light: #7b8dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3961aa",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 170
  },
  "hsl": {
    "h": 218.761,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50084,
    "c": 0.12514,
    "h": 261.4
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#3961AA
secondary
#C1A97E
accent
#A84ED9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3961AA

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

Preview Lab → · Contrast checker → · Palette generator →

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