#3960C5#3960C5

#3960C5 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.7% C 0.164 H 265.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3960C5
RGBrgb(57, 96, 197)
HSLhsl(223, 55%, 50%)
HSVhsv(223, 71%, 77%)
CMYKcmyk(71.1%, 51.3%, 0%, 22.7%)
CIE-LABlab(43.16, 20.76, -56.83)
CIE-LCHlch(43.16, 60.50, 290.07°)
OKLaboklab(51.74% -0.0137 -0.1633)
OKLCHoklch(51.74% 0.164 265.2)
XYZxyz(15.9447, 13.2652, 54.5326)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960C5 #C59E39
analogous
#39A6C5 #3960C5 #5839C5
triadic
#3960C5 #C53960 #60C539
tetradic
#3960C5 #C539A6 #C59E39 #39C558
square
#3960C5 #C539A6 #C59E39 #39C558
split-complementary
#3960C5 #C55839 #A6C539
monochromatic
#1E3266 #2B4996 #3960C5 #6886D3 #97ACE1

Accessibility & contrast

On white

5.75
#3960C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3960C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960C5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960C5#FFFFFF#000000##FFFFFF
##3960C51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216DC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3960c5;
/* rgb */ color: rgb(57, 96, 197);
/* oklch */ color: oklch(51.7% 0.164 265.2);
Tailwind
colors: {
  custom: {
    50: '#818cd7',
    500: '#3960c5',
    950: '#000000',
  },
}
SCSS
$custom: #3960c5;
$custom-light: #818cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3960c5",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 197
  },
  "hsl": {
    "h": 223.286,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.16391,
    "h": 265.2
  },
  "luminance": 0.13267
}

Semantic roles & 50–950 ramp

primary
#3960C5
secondary
#CDBB8D
accent
#B549DE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3960C5

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

Preview Lab → · Contrast checker → · Palette generator →

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