#3956C5#3956C5

#3956C5 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.176 H 268.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3956C5
RGBrgb(57, 86, 197)
HSLhsl(228, 55%, 50%)
HSVhsv(228, 71%, 77%)
CMYKcmyk(71.1%, 56.3%, 0%, 22.7%)
CIE-LABlab(40.50, 27.20, -61.14)
CIE-LCHlch(40.50, 66.92, 293.99°)
OKLaboklab(49.73% -0.0055 -0.1762)
OKLCHoklch(49.73% 0.176 268.2)
XYZxyz(15.0897, 11.5551, 54.2476)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956C5 #C5A839
analogous
#399CC5 #3956C5 #6239C5
triadic
#3956C5 #C53956 #56C539
tetradic
#3956C5 #C5399C #C5A839 #39C562
square
#3956C5 #C5399C #C5A839 #39C562
split-complementary
#3956C5 #C56239 #9CC539
monochromatic
#1E2D66 #2B4196 #3956C5 #687ED3 #97A7E1

Accessibility & contrast

On white

6.34
#3956C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3956C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956C5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956C5#FFFFFF#000000##FFFFFF
##3956C51.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3956c5;
/* rgb */ color: rgb(57, 86, 197);
/* oklch */ color: oklch(49.7% 0.176 268.2);
Tailwind
colors: {
  custom: {
    50: '#8185d7',
    500: '#3956c5',
    950: '#000000',
  },
}
SCSS
$custom: #3956c5;
$custom-light: #8185d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3956c5",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 197
  },
  "hsl": {
    "h": 227.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4973,
    "c": 0.17625,
    "h": 268.2
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#3956C5
secondary
#CDBF8D
accent
#C049DE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3956C5

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

Preview Lab → · Contrast checker → · Palette generator →

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