#3960C2#3960C2

#3960C2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.160 H 265.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3960C2
RGBrgb(57, 96, 194)
HSLhsl(223, 55%, 49%)
HSVhsv(223, 71%, 76%)
CMYKcmyk(70.6%, 50.5%, 0%, 23.9%)
CIE-LABlab(42.96, 19.66, -55.42)
CIE-LCHlch(42.96, 58.80, 289.53°)
OKLaboklab(51.52% -0.014 -0.1592)
OKLCHoklch(51.52% 0.16 265)
XYZxyz(15.6044, 13.1290, 52.7403)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960C2 #C29B39
analogous
#39A5C2 #3960C2 #5739C2
triadic
#3960C2 #C23960 #60C239
tetradic
#3960C2 #C239A5 #C29B39 #39C257
square
#3960C2 #C239A5 #C29B39 #39C257
split-complementary
#3960C2 #C25739 #A5C239
monochromatic
#1D3163 #2B4993 #3960C2 #6685D2 #95ABE0

Accessibility & contrast

On white

5.79
#3960C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3960C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960C2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960C2#FFFFFF#000000##FFFFFF
##3960C21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256CC6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3960c2;
/* rgb */ color: rgb(57, 96, 194);
/* oklch */ color: oklch(51.5% 0.160 265.0);
Tailwind
colors: {
  custom: {
    50: '#808cd5',
    500: '#3960c2',
    950: '#000000',
  },
}
SCSS
$custom: #3960c2;
$custom-light: #808cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3960c2",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 194
  },
  "hsl": {
    "h": 222.92,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51519,
    "c": 0.15981,
    "h": 265
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#3960C2
secondary
#CBB98B
accent
#B44ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3960C2

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

Preview Lab → · Contrast checker → · Palette generator →

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