#3960C7#3960C7

#3960C7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.167 H 265.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3960C7
RGBrgb(57, 96, 199)
HSLhsl(224, 56%, 50%)
HSVhsv(224, 71%, 78%)
CMYKcmyk(71.4%, 51.8%, 0%, 22%)
CIE-LABlab(43.30, 21.49, -57.76)
CIE-LCHlch(43.30, 61.63, 290.41°)
OKLaboklab(51.89% -0.0135 -0.1661)
OKLCHoklch(51.89% 0.167 265.3)
XYZxyz(16.1754, 13.3574, 55.7475)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960C7 #C7A039
analogous
#39A7C7 #3960C7 #5939C7
triadic
#3960C7 #C73960 #60C739
tetradic
#3960C7 #C739A7 #C7A039 #39C759
square
#3960C7 #C739A7 #C7A039 #39C759
split-complementary
#3960C7 #C75939 #A7C739
monochromatic
#1D3268 #2B4998 #3960C7 #6986D4 #98ADE2

Accessibility & contrast

On white

5.72
#3960C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3960C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960C7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960C7#FFFFFF#000000##FFFFFF
##3960C71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3960c7;
/* rgb */ color: rgb(57, 96, 199);
/* oklch */ color: oklch(51.9% 0.167 265.3);
Tailwind
colors: {
  custom: {
    50: '#818cd9',
    500: '#3960c7',
    950: '#000000',
  },
}
SCSS
$custom: #3960c7;
$custom-light: #818cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3960c7",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 199
  },
  "hsl": {
    "h": 223.521,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.16664,
    "h": 265.3
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#3960C7
secondary
#CEBC8E
accent
#B649DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3960C7

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

Preview Lab → · Contrast checker → · Palette generator →

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