#3960CA#3960CA

#3960CA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.171 H 265.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3960CA
RGBrgb(57, 96, 202)
HSLhsl(224, 58%, 51%)
HSVhsv(224, 72%, 79%)
CMYKcmyk(71.8%, 52.5%, 0%, 20.8%)
CIE-LABlab(43.50, 22.59, -59.16)
CIE-LCHlch(43.50, 63.33, 290.90°)
OKLaboklab(52.11% -0.0132 -0.1702)
OKLCHoklch(52.11% 0.171 265.6)
XYZxyz(16.5271, 13.4981, 57.6001)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960CA #CAA339
analogous
#39A8CA #3960CA #5A39CA
triadic
#3960CA #CA3960 #60CA39
tetradic
#3960CA #CA39A8 #CAA339 #39CA5A
square
#3960CA #CA39A8 #CAA339 #39CA5A
split-complementary
#3960CA #CA5A39 #A8CA39
monochromatic
#1D326C #2A489C #3960CA #6987D7 #9AAEE4

Accessibility & contrast

On white

5.68
#3960CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3960CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960CA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960CA#FFFFFF#000000##FFFFFF
##3960CA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3960ca;
/* rgb */ color: rgb(57, 96, 202);
/* oklch */ color: oklch(52.1% 0.171 265.6);
Tailwind
colors: {
  custom: {
    50: '#828cdb',
    500: '#3960ca',
    950: '#000000',
  },
}
SCSS
$custom: #3960ca;
$custom-light: #828cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3960ca",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 223.862,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52109,
    "c": 0.1707,
    "h": 265.6
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#3960CA
secondary
#D0BE8F
accent
#B847E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3960CA

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

Preview Lab → · Contrast checker → · Palette generator →

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