#3956C4#3956C4

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

Color values

HEX#3956C4
RGBrgb(57, 86, 196)
HSLhsl(227, 55%, 50%)
HSVhsv(227, 71%, 77%)
CMYKcmyk(70.9%, 56.1%, 0%, 23.1%)
CIE-LABlab(40.43, 26.84, -60.68)
CIE-LCHlch(40.43, 66.35, 293.86°)
OKLaboklab(49.65% -0.0056 -0.1748)
OKLCHoklch(49.65% 0.175 268.2)
XYZxyz(14.9755, 11.5094, 53.6462)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956C4 #C4A739
analogous
#399CC4 #3956C4 #6239C4
triadic
#3956C4 #C43956 #56C439
tetradic
#3956C4 #C4399C #C4A739 #39C462
square
#3956C4 #C4399C #C4A739 #39C462
split-complementary
#3956C4 #C46239 #9CC439
monochromatic
#1D2C65 #2B4195 #3956C4 #677ED3 #97A6E1

Accessibility & contrast

On white

6.36
#3956C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3956C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956C4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956C4#FFFFFF#000000##FFFFFF
##3956C41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3956c4;
/* rgb */ color: rgb(57, 86, 196);
/* oklch */ color: oklch(49.7% 0.175 268.2);
Tailwind
colors: {
  custom: {
    50: '#8185d7',
    500: '#3956c4',
    950: '#000000',
  },
}
SCSS
$custom: #3956c4;
$custom-light: #8185d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3956c4",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 227.482,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.1749,
    "h": 268.2
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#3956C4
secondary
#CCBF8D
accent
#BF4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3956C4

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

Preview Lab → · Contrast checker → · Palette generator →

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