#3956C6#3956C6

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

Color values

HEX#3956C6
RGBrgb(57, 86, 198)
HSLhsl(228, 55%, 50%)
HSVhsv(228, 71%, 78%)
CMYKcmyk(71.2%, 56.6%, 0%, 22.4%)
CIE-LABlab(40.58, 27.57, -61.60)
CIE-LCHlch(40.58, 67.48, 294.11°)
OKLaboklab(49.81% -0.0055 -0.1775)
OKLCHoklch(49.81% 0.178 268.2)
XYZxyz(15.2047, 11.6011, 54.8531)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956C6 #C6A939
analogous
#399CC6 #3956C6 #6339C6
triadic
#3956C6 #C63956 #56C639
tetradic
#3956C6 #C6399C #C6A939 #39C663
square
#3956C6 #C6399C #C6A939 #39C663
split-complementary
#3956C6 #C66339 #9CC639
monochromatic
#1E2D67 #2B4196 #3956C6 #697FD4 #98A7E1

Accessibility & contrast

On white

6.32
#3956C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3956C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956C6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956C6#FFFFFF#000000##FFFFFF
##3956C61.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3956c6;
/* rgb */ color: rgb(57, 86, 198);
/* oklch */ color: oklch(49.8% 0.178 268.2);
Tailwind
colors: {
  custom: {
    50: '#8185d8',
    500: '#3956c6',
    950: '#000000',
  },
}
SCSS
$custom: #3956c6;
$custom-light: #8185d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3956c6",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 198
  },
  "hsl": {
    "h": 227.66,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.1776,
    "h": 268.2
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

primary
#3956C6
secondary
#CDC08E
accent
#C049DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3956C6

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

Preview Lab → · Contrast checker → · Palette generator →

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