#3960CF#3960CF

#3960CF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.177 H 265.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3960CF
RGBrgb(57, 96, 207)
HSLhsl(224, 61%, 52%)
HSVhsv(224, 72%, 81%)
CMYKcmyk(72.5%, 53.6%, 0%, 18.8%)
CIE-LABlab(43.86, 24.42, -61.47)
CIE-LCHlch(43.86, 66.14, 291.67°)
OKLaboklab(52.49% -0.0128 -0.177)
OKLCHoklch(52.49% 0.177 265.9)
XYZxyz(17.1288, 13.7388, 60.7685)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960CF #CFA839
analogous
#39ABCF #3960CF #5D39CF
triadic
#3960CF #CF3960 #60CF39
tetradic
#3960CF #CF39AB #CFA839 #39CF5D
square
#3960CF #CF39AB #CFA839 #39CF5D
split-complementary
#3960CF #CF5D39 #ABCF39
monochromatic
#1C3272 #2848A3 #3960CF #6A88DB #9CAFE7

Accessibility & contrast

On white

5.60
#3960CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3960CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960CF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960CF#FFFFFF#000000##FFFFFF
##3960CF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056FD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3960cf;
/* rgb */ color: rgb(57, 96, 207);
/* oklch */ color: oklch(52.5% 0.177 265.9);
Tailwind
colors: {
  custom: {
    50: '#838cde',
    500: '#3960cf',
    950: '#000000',
  },
}
SCSS
$custom: #3960cf;
$custom-light: #838cde;
$custom-dark: #000000;
JSON
{
  "hex": "#3960cf",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 207
  },
  "hsl": {
    "h": 224.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52487,
    "c": 0.17744,
    "h": 265.9
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#3960CF
secondary
#D3C291
accent
#BA44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3960CF

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

Preview Lab → · Contrast checker → · Palette generator →

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