#3960A2#3960A2

#3960A2 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.3% C 0.115 H 260.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3960A2
RGBrgb(57, 96, 162)
HSLhsl(218, 48%, 43%)
HSVhsv(218, 65%, 64%)
CMYKcmyk(64.8%, 40.7%, 0%, 36.5%)
CIE-LABlab(40.97, 7.98, -39.83)
CIE-LCHlch(40.97, 40.62, 281.32°)
OKLaboklab(49.35% -0.0194 -0.1134)
OKLCHoklch(49.35% 0.115 260.3)
XYZxyz(12.3895, 11.8431, 35.8084)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960A2 #A27B39
analogous
#3994A2 #3960A2 #4639A2
triadic
#3960A2 #A23960 #60A239
tetradic
#3960A2 #A23994 #A27B39 #39A246
square
#3960A2 #A23994 #A27B39 #39A246
split-complementary
#3960A2 #A24639 #94A239
monochromatic
#192A47 #294575 #3960A2 #557EC3 #82A0D3

Accessibility & contrast

On white

6.23
#3960A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3960A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960A2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960A2#FFFFFF#000000##FFFFFF
##3960A21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#335CA1
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3960a2;
/* rgb */ color: rgb(57, 96, 162);
/* oklch */ color: oklch(49.3% 0.115 260.3);
Tailwind
colors: {
  custom: {
    50: '#7a8cbe',
    500: '#3960a2',
    950: '#000000',
  },
}
SCSS
$custom: #3960a2;
$custom-light: #7a8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3960a2",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 162
  },
  "hsl": {
    "h": 217.714,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49349,
    "c": 0.11503,
    "h": 260.3
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#3960A2
secondary
#BDA47A
accent
#A550D8
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3960A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3960A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva