#3962CC#3962CC

#3962CC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.171 H 265.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#3962CC
RGBrgb(57, 98, 204)
HSLhsl(223, 59%, 51%)
HSVhsv(223, 72%, 80%)
CMYKcmyk(72.1%, 52%, 0%, 20%)
CIE-LABlab(44.18, 22.04, -59.22)
CIE-LCHlch(44.18, 63.19, 290.42°)
OKLaboklab(52.66% -0.0147 -0.1703)
OKLCHoklch(52.66% 0.171 265.1)
XYZxyz(16.9503, 13.9631, 58.9169)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3962CC #CCA339
analogous
#39ABCC #3962CC #5939CC
triadic
#3962CC #CC3962 #62CC39
tetradic
#3962CC #CC39AB #CCA339 #39CC59
square
#3962CC #CC39AB #CCA339 #39CC59
split-complementary
#3962CC #CC5939 #ABCC39
monochromatic
#1C336E #294A9F #3962CC #6A89D9 #9AAFE5

Accessibility & contrast

On white

5.54
#3962CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3962CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3962CC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3962CC#FFFFFF#000000##FFFFFF
##3962CC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3962cc;
/* rgb */ color: rgb(57, 98, 204);
/* oklch */ color: oklch(52.7% 0.171 265.1);
Tailwind
colors: {
  custom: {
    50: '#828edc',
    500: '#3962cc',
    950: '#000000',
  },
}
SCSS
$custom: #3962cc;
$custom-light: #828edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3962cc",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 223.265,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52665,
    "c": 0.17096,
    "h": 265.1
  },
  "luminance": 0.13965
}

Semantic roles & 50–950 ramp

primary
#3962CC
secondary
#D1BF90
accent
#B746E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3962CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3962CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva