#3961CC#3961CC

#3961CC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.172 H 265.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3961CC
RGBrgb(57, 97, 204)
HSLhsl(224, 59%, 51%)
HSVhsv(224, 72%, 80%)
CMYKcmyk(72.1%, 52.5%, 0%, 20%)
CIE-LABlab(43.91, 22.68, -59.65)
CIE-LCHlch(43.91, 63.82, 290.82°)
OKLaboklab(52.46% -0.0139 -0.1716)
OKLCHoklch(52.46% 0.172 265.4)
XYZxyz(16.8573, 13.7771, 58.8859)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961CC #CCA439
analogous
#39ABCC #3961CC #5A39CC
triadic
#3961CC #CC3961 #61CC39
tetradic
#3961CC #CC39AB #CCA439 #39CC5A
square
#3961CC #CC39AB #CCA439 #39CC5A
split-complementary
#3961CC #CC5A39 #ABCC39
monochromatic
#1C336E #29499F #3961CC #6A88D9 #9AAFE5

Accessibility & contrast

On white

5.59
#3961CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3961CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961CC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961CC#FFFFFF#000000##FFFFFF
##3961CC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3961cc;
/* rgb */ color: rgb(57, 97, 204);
/* oklch */ color: oklch(52.5% 0.172 265.4);
Tailwind
colors: {
  custom: {
    50: '#828ddc',
    500: '#3961cc',
    950: '#000000',
  },
}
SCSS
$custom: #3961cc;
$custom-light: #828ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#3961cc",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 204
  },
  "hsl": {
    "h": 223.673,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.17219,
    "h": 265.4
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3961CC

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

Preview Lab → · Contrast checker → · Palette generator →

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